how to increase the distance between the tex开发者_开发知识库t and the check box in flex ?
You can change the gap by using the horizontalGap property (style)
<mx:CheckBox id="chk" label="Hello" horizontalGap="50" />
or
chk.setStyle("horizontalGap", 50);
You can use textIndent Property:
<mx:CheckBox label="some text" textIndent="5"/>
精彩评论