1

I have a buttonbar which has both buttons with only small icons and buttons with short text labels. Problem is that each button gets huge padding while I want to set width of the button relative to its contents. Below is illustration of my problem: Current one http://i.imgur.com/I8goS.png With buttonWidth=32 http://i.imgur.com/s0fD5.png

I can set buttonWidth to 32 for my buttonbar which works fine for my icons, but not for text. Is there way to remove that huge padding of the buttons?

4

1 回答 1

0

如果我明白你在那里之后,你可以使用按钮栏标签内的布局,如下所示:

<s:layout>
    <s:HorizontalLayout variableColumnWidth="true" gap="0"/>
</s:layout>
于 2012-10-30T19:50:48.800 回答