How to Style the Canvas?
-
Can the canvas be styled, or do I need to create a panel the size of the canvas (and style the panel)? If the panel route, is it possible to lock a panel in the interface designer (so it can't be selected, dragged, etc.)? Thank you.
-
@clevername27 said in How to Style the Canvas?:
..., is it possible to lock a panel in the interface designer (so it can't be selected, dragged, etc.)? Thank you.
Yes you can lock it in the Property editor, and it will not be modified when you have the "edit" pen activated, unless you have the component selected in "Component list"
-
@clevername27 A panel is the most versatile component and they are necessary for styling your interface, for stand colours, images, paint routines, SVG, animations (scripted, RLottie, ShaderToy) and more .
I know you haven't asked (may it serve someone else in this case) but you can also make them interactive like buttons and custom sliders (although this purpose is less obvious since the apparition of custom global/local LookAndFeel), menus, store data and even create a complex interactive component of your own! The choice component of gods :)
-
@ulrik Thank you - perfect - I don't know why I didn't see that!
-
@ustk Sounds great - thanks!