In my project I have the following issue:As you can see I have 2 dynamicForms that add some TextItems attributes.The second form has one more attribute in the beginning of the program but I want the rest host,port,key to be in the same line for both forms,something that can not be done due to that extra item.How can I create a space or adjust the forms so the host,port,key be in the same line horizontally
Code:
setWidth100(); setHeight100(); HLayout mainHLayout = new HLayout(); mainHLayout.setMargin(2); mainHLayout.setWidth(700); mainHLayout.setHeight(200); final DynamicForm firstForm = new DynamicForm(); firstForm.setNumCols(2); firstForm.setIsGroup(true); firstForm.setMargin(10); firstForm.setWrapItemTitles(false); firstForm.setItems( hostItem, portItem,KeyItem); mainHLayout.addMember(firstForm); final DynamicForm secondForm = new DynamicForm(); secondForm.setNumCols(2); secondForm.setIsGroup(true); secondForm.setMargin(10); secondForm.setWrapItemTitles(false) secondForm.setItems(extraItem, hostItem2, portItem2,KeyItem2); mainHLayout.addMember(secondForm);
Comment