View Full Version : FormLayout - positioning

24 Jul 2009, 8:25 PM
is it possible to place a component that has no field label to leftmost or rightmost; in a formpanel; or while using formlayout.

for ex:

CheckBox cbRemeberMe = new CheckBox();

cbRemeberMe.setLabelSeparator( "" );

cbRemeberMe.setFieldLabel( "" );
cbRemeberMe.setBoxLabel( "Remember Me!" );

when i add this component to panel; it's added to component's column; but i wish it to span both label and component columns.

25 Jul 2009, 6:27 PM
finally; i discovered setHideLabel method. now i'm able to align it to the leftmost; while using form layout.