开发者

distance beetween Checkbox and Text

开发者 https://www.devze.com 2023-02-01 07:21 出处:网络
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)

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"/>
0

精彩评论

暂无评论...
验证码 换一张
取 消