mpelze2s
4 Sep 2008, 9:01 AM
Hi,
I updated my project to ExtGWT 1.0.4 and now I have some really strange things. In forms all LayoutContainers with FormLayout have scroll bars or at least a grey area at the right side where a scroll bar could be. That looks horrible in a form using lots of LayoutContainers to create a complext layout. In 1.0.2 these scroll bars were not there.
Also field labels of radio buttons in radio groups are not displayed any longer. The radio buttons are there but no text.
The following screenshot shows a simple test window with the following code:
public class Test extends Window {
public Test() {
this.setHeight(800);
this.setWidth(1000);
LayoutContainer main = new LayoutContainer();
main.setHeight(800);
main.setWidth(900);
main.setLayout(new FlowLayout());
LayoutContainer top = new LayoutContainer();
top.setLayout(new ColumnLayout());
LayoutContainer topLeft = new LayoutContainer();
topLeft.setLayout(Utils.createFormLayout(LabelAlign.TOP));
List<String> persons = new ArrayList<String>();
topLeft.add(Utils.createComboBox("Antragssteller", "Antragssteller", persons, null));
LayoutContainer topMiddle = new LayoutContainer();
topMiddle.setLayout(Utils.createFormLayout(LabelAlign.TOP));
topMiddle.add(Utils.createTextField("Personal-ID", "Personal-ID", null, true));
LayoutContainer topRight = new LayoutContainer();
topRight.setLayout(Utils.createFormLayout(LabelAlign.TOP));
topRight.add(Utils.createTextField("Antragsnummer", "Antragsnummer", null, true));
top.add(topLeft, new ColumnData(0.33f));
top.add(topMiddle, new ColumnData(0.34f));
top.add(topRight, new ColumnData(0.33f));
main.add(top);
// more LayoutContainers to follow
this.add(main);
}
}
(The methods in the class "Utils" are just conenienve methods for creating layouts and fields. They just create an object, set the id, the field label, ... and return it.)
As you can see each column has something grey on the right side. As the layout gets more complex scroll bars appear everywhere.
What happened in 1.0.4 that all my forms do not work any more?
Best regards,
Martin
I updated my project to ExtGWT 1.0.4 and now I have some really strange things. In forms all LayoutContainers with FormLayout have scroll bars or at least a grey area at the right side where a scroll bar could be. That looks horrible in a form using lots of LayoutContainers to create a complext layout. In 1.0.2 these scroll bars were not there.
Also field labels of radio buttons in radio groups are not displayed any longer. The radio buttons are there but no text.
The following screenshot shows a simple test window with the following code:
public class Test extends Window {
public Test() {
this.setHeight(800);
this.setWidth(1000);
LayoutContainer main = new LayoutContainer();
main.setHeight(800);
main.setWidth(900);
main.setLayout(new FlowLayout());
LayoutContainer top = new LayoutContainer();
top.setLayout(new ColumnLayout());
LayoutContainer topLeft = new LayoutContainer();
topLeft.setLayout(Utils.createFormLayout(LabelAlign.TOP));
List<String> persons = new ArrayList<String>();
topLeft.add(Utils.createComboBox("Antragssteller", "Antragssteller", persons, null));
LayoutContainer topMiddle = new LayoutContainer();
topMiddle.setLayout(Utils.createFormLayout(LabelAlign.TOP));
topMiddle.add(Utils.createTextField("Personal-ID", "Personal-ID", null, true));
LayoutContainer topRight = new LayoutContainer();
topRight.setLayout(Utils.createFormLayout(LabelAlign.TOP));
topRight.add(Utils.createTextField("Antragsnummer", "Antragsnummer", null, true));
top.add(topLeft, new ColumnData(0.33f));
top.add(topMiddle, new ColumnData(0.34f));
top.add(topRight, new ColumnData(0.33f));
main.add(top);
// more LayoutContainers to follow
this.add(main);
}
}
(The methods in the class "Utils" are just conenienve methods for creating layouts and fields. They just create an object, set the id, the field label, ... and return it.)
As you can see each column has something grey on the right side. As the layout gets more complex scroll bars appear everywhere.
What happened in 1.0.4 that all my forms do not work any more?
Best regards,
Martin