Use setStyle in your click handler or load handler as shown below --

button.setStyle("paddingLeft", value);
button.setStyle("paddingRight", value);
button.setStyle("paddingTop", value);
button.setStyle("paddingBottom", value);
button.setStyle("horizontalGap", value);


On Thu, Jun 16, 2011 at 2:20 AM, Flex based developments <
[email protected]> wrote:

> Hello,
>
> I want set right padding on load or on button click.Please suggest
> some options.
>
> Thanks.
>
> Abhilash
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>


-- 
Vikas

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to