Further UI tweaking
All  1  2-3

Previous
Next
 From:  Michael Gibson
11577.2 In reply to 11577.1 
Hi Raven, the bitmaps are embedded inside the .js files in the startup folder.

So for example the ObjLibrary button gets created from the file "70 ObjLibrary.js" inside appdata\startup.

If you open that in a text editor on line #4 there is this:
var icon = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA<...truncated...>

That's the image data which has been encoded as text using base64 encoding.

You can change that to make it use a .png file instead, like this:

var icon = "moi://appdata/customui/icons/ObjLibrary.png";

That should then make it look for an image ObjLibrary.png inside appdata\customui\icons

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  777RAVEN777
11577.3 In reply to 11577.2 
Yes indeedy - worked like a charm - thank you Sir!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1  2-3