View Single Post
01-14-11, 10:50 PM   #295
Gylindor
A Defias Bandit
Join Date: Apr 2009
Posts: 3
ok so how come height = "100%+10"(in fact +/- any number) works yet width = "100%-10"(+/- any number) doesn't?

what I'm trying to get is a panel at bottom of my ui that is the whole width of the screen less 10 pixels (5 each side), this is the whole panel code:

Code:
{	name = "bp", parent = "UIParent", anchor_to = "bottom", anchor_from = "bottom", 
        width = "100%-10", height = 20,
        strata = "background", level = 3,  y_off = 5,
	bg_color = "CLASS", bg_alpha = 1, 
        gradient = "V", gradient_color = {0,0,0}, gradient_alpha = 0, 
        border = "SOLID", border_color = "CLASS", border_size = 1, border_alpha = 1,
},

Last edited by Gylindor : 01-14-11 at 10:56 PM.
  Reply With Quote