13.0 latest. Consider code below. Even though i've set wrapTitle to false, the title wraps on top of the checkboxitem. It only behaves as expected with titles to the left or right.
screenshot:
Code:
public void onModuleLoad() { VLayout hLayout = new VLayout(); DynamicForm form = new DynamicForm(); form.setTitleOrientation(TitleOrientation.TOP); form.setCellBorder(1); TextItem runDmc = new TextItem(); runDmc.setTitle("Run-DMC"); CheckboxItem rocksteadycrew = new CheckboxItem(); rocksteadycrew.setTitle("Rock Steady Crew"); rocksteadycrew.setWrapTitle(false);//only makes a difference if titleorientation is left or right rocksteadycrew.setLabelAsTitle(true); form.setItems(runDmc, rocksteadycrew); hLayout.addMember(form); hLayout.draw(); }
Comment