LAF how to customize any object?
-
Hey there,
First of all, I'm new here and am loving the community and collective effort.
I'm trying to understand LAF, but couldn't find an easy way to find which
registerFunction
fn to use for each UI component. For instance, I'm trying to modify the laf of a panel, but couldn't find alaf.registerFunction("drawPanel", fn);
.Is there a way to modify a component without using a
registerFunction
?Thanks in advance.
-
Hello,
Panels don't have LAF, you can use a paint routine which does the same thing.
For other laf the easiest way to find out what is available is to use the autocomplete popup menu in HISE which will show a big list of all the possible functions - sometimes a little guesswork might be required to know if the function applies to your component. There are also some specific functions listed with examples in the docs.
-
Hi! You can style the panel with a paint routine
https://youtube.com/watch?v=ZjRRcOmTtqI@d-healey also has videos on LAF
-
Great, thanks a lot, guys!