A buttonItem set in a DynamicForm which is set in a tab loses its absolute position in the form when the tab is re-used. At initialization the ButtonItem is in the correct place, but subsequent uses of the tab cause the ButtoneItem to float to upper left corner - 0,0 for absolute positioning.
1. the SmartGWT 2.5
2. Developer Console - SmartClient Version: SC_SNAPSHOT-2011-07-12/Pro Deployment (built 2011-07-12)
3. DynamicForm df = new DynamicForm();
df.setItemLayout(FormLayoutType.ABSOLUTE);
Button buttonOne = new Button();
buttonOne.setTop(20);
buttonOne.setLeft(100);
setWidth(40);
df.addChild(buttonOne);
Posts with incomplete information are much more likely to be ignored.
1. the SmartGWT 2.5
2. Developer Console - SmartClient Version: SC_SNAPSHOT-2011-07-12/Pro Deployment (built 2011-07-12)
3. DynamicForm df = new DynamicForm();
df.setItemLayout(FormLayoutType.ABSOLUTE);
Button buttonOne = new Button();
buttonOne.setTop(20);
buttonOne.setLeft(100);
setWidth(40);
df.addChild(buttonOne);
Posts with incomplete information are much more likely to be ignored.
Comment