Combobox customPopUp
-
Nothing is ever simple...
Im trying to use a customPopUp - you know these things:
** Heading **
Item1
Level 1::Level 2:: Level 3
Deactivatedbut Im using a localLAF on the combobox - is there a specific LAF I can use for the LEVELs???
I want to paint in the arrows for Level 1 in this case....
-
@Lindon If I remember correctly there is something like obj.hasSubmenu you can use for the sub categories, I don't think you can go level by level however. Also obj.isIndicator for drawing an arrow and obj.isSeperator for demarcating the lines.
-
@HISEnberg thanks thats it...but what does obj.isIndicator do?
-
@Lindon I have this wrong, I just checked an old script. It is
obj.isTicked
and it allows you to set a specific paint routine for the object selected.Looks like you can implement CSS on the combobox now so I imagine this is a much stronger alternative:
https://docs.hise.audio/ui-components/plugin-components/combobox.html