You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GWT Release:
1.1.10
Browser or OS version (if applicable):
IE
Detailed description:
On IE, cells in a table must be set to 100% height before IE will respect
the widget's directive to be set to 100% height.
Example code showing the problem (strongly preferred):
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.RootPanel;
/**
* Entry point classes define <code>onModuleLoad()</code>.
*/
public class ImageViewer implements EntryPoint {
public void onModuleLoad() {
final RootPanel rootPanel = RootPanel.get();
{
final FlexTable flexTable = new FlexTable();
rootPanel.add(flexTable, 50, 20);
flexTable.setCellSpacing(10);
flexTable.setBorderWidth(5);
{
final Button button = new Button();
flexTable.setWidget(0, 0, button);
flexTable.getCellFormatter().setWidth(0, 0,
"156");
button.setText("Button 0-0");
}
{
final Button button = new Button();
flexTable.setWidget(1, 0, button);
button.setText("Button 1-0");
}
{
final Button button = new Button();
flexTable.setWidget(0, 1, button);
button.setHeight("100%");
flexTable.getFlexCellFormatter().setRowSpan(0, 1, 2);
button.setText("Button 0-1");
}
}
}
Workaround if you have one:
set the cell's height first
Links to the relevant discussion group topics (optional):
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/98b50e6faaea8f16
Reported by gwt.team.ecc on 2006-09-20 11:01:29
The text was updated successfully, but these errors were encountered:
Originally reported on Google Code with ID 44
Reported by
gwt.team.ecc
on 2006-09-20 11:01:29The text was updated successfully, but these errors were encountered: