Further UI tweaking

Next
 From:  777RAVEN777
11577.1 
So I've installed Max's CustomUI in v4 & it's working great. Some of you have been able to change the icons (Object Library, Scripts, Lighting etc) to suit your own UI layout.

If I wanted to simply change their colour, where would I find them? There doesn't appear to be an 'Icons' folder for the custom ui

(using Windows 11 btw)
  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
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