Hi,
When i use multiple Layouts with showResizeBar(true) and move one Bar, the change of the resizing is not working correctly.
To simulate my issue i changed the Nested Layout example with the following code.
If you now start the showcase and try to change the size of the RIGHT Navigation part (Navigation2) - then the Navigation is enlarged and the Navigation2 is getting smaller, instead of enlargemnt of the RIGHT Navigation Part.
If you once move the LEFT Navigation part, then everything works fine .... can anyone point me a way to solve that ????
(I tested in IE and Firefox - SmartGWT 2.3)
When i use multiple Layouts with showResizeBar(true) and move one Bar, the change of the resizing is not working correctly.
To simulate my issue i changed the Nested Layout example with the following code.
If you now start the showcase and try to change the size of the RIGHT Navigation part (Navigation2) - then the Navigation is enlarged and the Navigation2 is getting smaller, instead of enlargemnt of the RIGHT Navigation Part.
If you once move the LEFT Navigation part, then everything works fine .... can anyone point me a way to solve that ????
(I tested in IE and Firefox - SmartGWT 2.3)
Code:
HLayout mainLayout = new HLayout(); mainLayout.setWidth100(); mainLayout.setHeight100(); Label navigationLabel = new Label(); navigationLabel.setContents("Navigation"); navigationLabel.setAlign(Alignment.CENTER); navigationLabel.setOverflow(Overflow.HIDDEN); navigationLabel.setWidth("15%"); navigationLabel.setShowResizeBar(true); mainLayout.addMember(navigationLabel); VLayout vLayout = new VLayout(); vLayout.setWidth("40%"); Label listingLabel = new Label(); listingLabel.setContents("Listing"); listingLabel.setAlign(Alignment.CENTER); listingLabel.setOverflow(Overflow.HIDDEN); listingLabel.setHeight("30%"); listingLabel.setShowResizeBar(true); Label detailsLabel = new Label(); detailsLabel.setContents("Details"); detailsLabel.setAlign(Alignment.CENTER); detailsLabel.setOverflow(Overflow.HIDDEN); detailsLabel.setHeight("70%"); vLayout.addMember(listingLabel); vLayout.addMember(detailsLabel); mainLayout.addMember(vLayout); Label navigationLabel2 = new Label(); navigationLabel2.setContents("Navigation2"); navigationLabel2.setAlign(Alignment.RIGHT); navigationLabel2.setOverflow(Overflow.HIDDEN); navigationLabel2.setWidth("15%"); navigationLabel2.setShowResizeBar(true); mainLayout.addMember(navigationLabel2); return mainLayout;
Comment