When I run code below with GWT 1.1, I see very-very small label in
upper left corner of FocusPanel. In 1.0.21 it works fine.
package com.mycompany.project.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.FocusPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootPanel;
/**
* Entry point classes define <code>onModuleLoad()</code>.
*/
public class ImageViewer implements EntryPoint {
public void onModuleLoad() {
RootPanel rootPanel = RootPanel.get();
{
final FocusPanel focusPanel = new FocusPanel();
rootPanel.add(focusPanel, 142, 72);
focusPanel.setSize("338px", "253px");
{
final Label label = new Label();
focusPanel.add(label);
label.setText("New Label");
}
}
}
}