Hello Michael and all,
I am currently working on refining my custom UI but I hit a roadblock. I'd like to make the Styles tab (from the Scene Browser) live in its own little popup, that I could call with a shortcut similarly to this tool search/filter box I've put together a little while back :
FWIW The code to call this kind of popup from a shortcut is :
moi.ui.createDialog( 'moi://appdata/xxx/index.html', 'resizeable', moi.ui.mainWindow );
And then the index.html file can hold any content - both regular html and moi-specific commands.
Digging through the commands folder I see references to the various elements of the scene browser but I am unable to piece together the bits that would make a functionning Styles panel, so I suppose I must be missing some dependency somehow. And ideally I'd like to consolidate the code into one single html file for easy edits too. The goal being to be able to call this little panel from a shortcut and having it be a popup :
Many thanks if you can help !
|