How can the vertical line gap of Label be changed?
+1
A:
I'm assuming you are asking about changing the space between lines when a spark Label is showing multiple lines of text. To do that, you set the lineHeight style to a percent value:
ActionScript:
myLabel.setStyle("lineHeight", "140%");
MXML:
<s:Label lineHeight="140%"/>
According to the documentation the default value is 120%. Hope that helps.
Wade Mueller
2010-07-20 18:36:09
Perfect! thanks..
Yeti
2010-07-20 19:40:49