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 https://i.stack.imgur.com/c0hdb.png With buttonWidth=32 https://i.stack.imgur.com/DlbEq.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?

ketan
  • 19,129
  • 42
  • 60
  • 98
Tumetsu
  • 1,661
  • 2
  • 17
  • 29

1 Answers1

0

If I understand what you are after there, you can use a layout inside the buttonbar tag something like this:

<s:layout>
    <s:HorizontalLayout variableColumnWidth="true" gap="0"/>
</s:layout>
Jason Reeves
  • 1,716
  • 1
  • 10
  • 13
  • Looks like doesn't have layout and things break in my app if I change it to :/ My buttonbar is defined as – Tumetsu Oct 30 '12 at 20:10