I'm using SmartGWT 2.1 with IE 7
I'm trying to set the borders of Layout. I want to programmatically use a style, from a skin.
I have tried to use setBorder("[SKIN]styleName") where styleName is defined within our skin - this did not work.
I don't want to hard code the parameter to a specific style as the skin may change. I want the skin to drive the border style.
Is there a way to retrieve the value of a style defined within a skin? If so, I could use the result as the parameter to setBorder(..).
Thanks for any help....
I'm trying to set the borders of Layout. I want to programmatically use a style, from a skin.
I have tried to use setBorder("[SKIN]styleName") where styleName is defined within our skin - this did not work.
I don't want to hard code the parameter to a specific style as the skin may change. I want the skin to drive the border style.
Is there a way to retrieve the value of a style defined within a skin? If so, I could use the result as the parameter to setBorder(..).
Thanks for any help....