PDA

View Full Version : Checkbox group - boxLable appearing on the next line



mx_starter
17 Oct 2014, 4:31 AM
Hello guys,
how to avoid the effect below.
I mean how to tell the checkboxgroup to be auto-resized so that the red-colored boxLabel caption to appear on the right of the checkbox?

May be with different layout?

50719

watertrac_dev
17 Oct 2014, 4:58 AM
You could set the columns value to 1, so you would only have a single column. You could also increase the width of the panel which contains your checkbox group. The goal of both changes is to give you more width since your boxLabel values are longer than the current space allows for.

mx_starter
17 Oct 2014, 5:19 AM
You could set the columns value to 1, so you would only have a single column. You could also increase the width of the panel which contains your checkbox group. The goal of both changes is to give you more width since your boxLabel values are longer than the current space allows for.

:) Single column is not a solution (the items are automatically generated and there is no chance to tell the exact count)

slemmon
18 Oct 2014, 12:32 AM
How about @watertrac_dev's suggestion of increasing the width of the panel? Or maybe use labelAlign: 'top' to offer a bit more width to the radiogroup?