how to make Side Panel appear on top of the rest of controls on screen
#1
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,
Reply
#2
Just add it to the texture itself.
Reply
#3
Thanks @Hitcher . I'll try that.
Reply

Logout Mark Read Team Forum Stats Members Help
how to make Side Panel appear on top of the rest of controls on screen0