Hi Isomorphic,
Here is my problem.
I have an HLayout with two members.
I want a resizebar between the two members.
The parent HLayout must adapt to the heighest member, it is an item in SectionStackSection.
I tried using setAutoHeight on HLayout but this create a 1px height resizebar.
Without autoHeight, the resizeBar has a height less than the height of the HLayout.
In the test case, without autoHeight, the resizebar has a fixed height (250px) less than the 300px of the tabset.
Can you give me the right solution ?
How can i resolve this design ?
Here is the test case.
It was tested with the last night build : SmartGWT v12.0p_2019-09-08/LGPL
Best regards,
costy
Here is my problem.
I have an HLayout with two members.
I want a resizebar between the two members.
The parent HLayout must adapt to the heighest member, it is an item in SectionStackSection.
I tried using setAutoHeight on HLayout but this create a 1px height resizebar.
Without autoHeight, the resizeBar has a height less than the height of the HLayout.
In the test case, without autoHeight, the resizebar has a fixed height (250px) less than the 300px of the tabset.
Can you give me the right solution ?
How can i resolve this design ?
Here is the test case.
It was tested with the last night build : SmartGWT v12.0p_2019-09-08/LGPL
Code:
TextItem text1 = new TextItem("text1", "Text item 1"); TextItem text2 = new TextItem("text2", "Text item 2"); DynamicForm theForm = new DynamicForm(); theForm.setFields(text1, text2); DynamicForm form2 = new DynamicForm(); TextItem text3 = new TextItem("text3", "Text item 3"); TextItem text4 = new TextItem("text4", "Text item 4"); form2.setFields(text3, text4); Tab tab = new Tab("tab1"); tab.setPane(form2); TabSet ts = new TabSet(); ts.setWidth(200); ts.setHeight(300); ts.addTab(tab); ts.setShowTabBar(true); ts.setShowResizeBar(true); HLayout theLayout = new HLayout(); theLayout.setAutoHeight(); theLayout.setMembersMargin(10); theLayout.addMember(ts); theLayout.addMember(theForm); theLayout.draw();
costy
Comment