If I understand you question correctly. Have a look at the textIndent style this can be set via css  or property, otherwise your going to have to extend the button.
 
for example
 
css file
<mx:Style>
.IndentedtextButton{
 cornerRadius: 0;
 textIndent: 15;
 fontWeight:  "normal";
}
</mx:Style>
 
 
<mx:Button textAlign="left" styleName="IndentedtextButton" width="150" label="Test" />
 
or
 
<mx:Button textAlign="left" textIndent="15" width="150" label="Test" />
 
Hope that helps  
Jason
 
 
-----Message d'origine-----
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de shemeshkale
Envoyé : mercredi 29 mars 2006 09:11
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Re: need help with programatic skin

PLEASE HELP !
or please refer me to a place i can learn...

--- In flexcoders@yahoogroups.com, "shemeshkale" <[EMAIL PROTECTED]> wrote:
>
> hi,
> i m working with the basic HALO skin.
> i m trying to change some things without luck.
>
> PLEASE HELP:
>
> - how do i change the padding (the space between the text and the
> border) inside a button? i want to make a deafult 2px.
> - i want to make a top and bottom border on the selected item of a tree.
> - i want to change the gray arrow in the tree to a +\- sign.
>
> how do i do this?
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to