2018-08-11, 07:37
I am creating a GUI using a python addon. One part of GUI is a Panel that Slides in and out from the Left hand side (just like Confluence - MyVideoNav.XML).
If you look closely at the MyVideoNav.xml, there is a shadow/border that makes the Side bar appear on top of the rest of the controls. How do I add that effect to my Panel ?
My side panel comprises of an dark background image that is 720 x 150 pixels, the Panel List item labels are white and when focused they are Yellow. The main screen area has a lighter background.
I have tried using <shadowcolor></shadowcolor>, <bordertexture></bordertexture> and <zorder>1</zorder> but didn't get an effect any closer to how it looked in confluence.
Is there an inbuilt texture that I should be using for shadows ?
Thanks,
If you look closely at the MyVideoNav.xml, there is a shadow/border that makes the Side bar appear on top of the rest of the controls. How do I add that effect to my Panel ?
My side panel comprises of an dark background image that is 720 x 150 pixels, the Panel List item labels are white and when focused they are Yellow. The main screen area has a lighter background.
I have tried using <shadowcolor></shadowcolor>, <bordertexture></bordertexture> and <zorder>1</zorder> but didn't get an effect any closer to how it looked in confluence.
Is there an inbuilt texture that I should be using for shadows ?
Thanks,