vaadin7 - CheckBox caption position in FormLayout (Vaadin 7.5.0) -
i have problem formlayout
, checkbox component. want use formlayout
generate form user. means want have options in form (textinput, numberinput, options...
) aligned formlayout
caption
left
, input
right.
this works other components not checkbox
. places caption right of box, breaks visual order of form.
in vaadin, implementation of component can decide if renders caption or if parent, component container, renders it. of components let parent render caption. checkbox
component renders caption itself.
to fix problem, wrap checkbox
inside layout (csslayout
example) , set caption layout, or use addon: formcheckbox.
Comments
Post a Comment