i have a problem with a simple GWT project. It is made of two .java
files.
The first just add two same composites ("MainForm") to the Root
Panel.
public class ImageViewer implements EntryPoint {
public void onModuleLoad() {
RootPanel rootPanel = RootPanel.get();
MainForm mainForm = new MainForm();
rootPanel.add(mainForm, 0, 0);
mainForm.setSize("546px", "223px");
MainForm mainForm_1 = new MainForm();
rootPanel.add(mainForm_1, 0, 245);
mainForm_1.setSize("546px", "223px");
}
}
And the second file describes the "Main Form":
import com.smartgwt.client.widgets.Window;
public class MainForm extends Composite {
public MainForm() {
Window window = new Window();
window.setSize("288px", "206px");
window.setCanDragResize(true);
window.setShowFooter(true);
window.setShowHeader(true);
initWidget(window);
}
}
-------------------------------------------------------------------------
The result is that the first 'Window' is shown correctly onto the web
page,
but the second (which is completely the same) is not. The title, the '
_ ' and the ' x ', are onto the left, and the border of the window is
down-right !?!
Is it because smartGWT is not 100% compatible with GWT?
Thanks in advance for your consideration
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.