I know this is a Simple XML transparent question but need some help.
All I'm trying to do is make this transparent when I delete it , it gives me a white box background.
I tried to look for the api for backdrops and couldn't find them in the main api list , also I tried looking it up in zgoo but I may just be looking in the wrong places. inherits="ZO_ThinBackdrop" here is my xml currently Lua Code:
|
If you want to make any control transparent in LUA, use SetAlpha(value), where value is number between 0 (transparent) and 1 (fully opaque).
lua Code:
lua Code:
If you want set transparency in XML use alpha="value". This example sets transparency for backdrop to 30%: lua Code:
lua Code:
|
Thank you Garkin it's working perfect now.
|
If you want to hide the entire control do what Garkin suggested.
But, just fyi there may be a case sometimes when you don't want to hide the entire control. For example if you had a backdrop & you only wanted to see the border, but not the rest (center) of the control you could set its center color Lua Code:
and that would make the center transparent, but the border would still be visible. |
All times are GMT -6. The time now is 06:33 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI