GXT 3.0 don't have AbsoluteLayout, I can't migrate from version
Hello, we are from Argentina, sorry my English. We develope a medium application, about 500.000 records in the database. We use to create Forms the AbsoluteLayout class. For example:
this.setLayout(new AbsoluteLayout()); // my FormPanel
// myComponent is an object that can be a Label, TextField, CheckBox, etc.
// widgetPanel is a ContentPanel
this.add(widgetPanel); // add the component in an absolute position and size
Ok, now we start to migrate to new version, we have a top layer that hide the componentes, for example: Buttons extends SenchaButton so there is no problem to migrate the application. But the BIG problem are we can't find a similar way to position the componentes in Absolute position and size with GXT 3.0
¿Can you help us with this? We spent a lot of time finding a solution in Internet, but at the moment we fail.
You might be able to use the GWT AbsolutePanel. Have you tried that?
AbsoluteLayout should not have any extra functionality that AbsolutePanel does not offer, so this might work.
We use de AbsolutePanel, but not working well. This is important because our programming is like:
panel.add(depositoLabel, new FixLayout(0, 0, Margin.getLeftTopMargin()));
panel.add(descripcionLabel, new FixLayout(depositoLabel, Fix.ALIGN_RIGHT_DOWN));
panel.add(direccionLabel, new FixLayout(descripcionLabel, Fix.ALIGN_RIGHT_DOWN));
panel.add(ordenLabel, new FixLayout(direccionLabel, Fix.ALIGN_RIGHT_DOWN));
panel.add(depositoTF, new FixLayout(depositoLabel, Fix.GLUE_RIGHT));
panel.add(descripcionTF, new FixLayout(descripcionLabel, Fix.GLUE_RIGHT));
panel.add(direccionTF, new FixLayout(direccionLabel, Fix.GLUE_RIGHT, Margin.getRightMargin()));
panel.add(ordenIF, new FixLayout(ordenLabel, Fix.GLUE_RIGHT, Margin.getBottomRightMargin()));
With this code, we use a class that position the components in the panel with absolute position, and now, we can't do it. We decided to stop the migration and wait a new version.
We use de AbsolutePanel, but not working well.
Can you please explain what exactly is not working well? AbsolutePanel position its children also absolutly
With this code, we use a class that position the components in the panel with absolute position, and now, we can't do it.
Hello Sven, I check de AbsolutePanel personally and It works find, now we be able to advance with the source code migration. Thank you very much.
Tags for this Thread