Thanks for the tip.
Mr Schmoe, this worked for me:
CellBrowser cellBrowser = new CellBrowser(model, null) {
// HACK: workaround for setDefaultColumnWidth not setting the
width of the first column!
// SEE:
https://groups.google.com/forum/?pli=1#!topic/google-web-toolkit/T8ObWAWDPqI
public void setDefaultColumnWidth(int width) {
super.setDefaultColumnWidth(width);
* SplitLayoutPanel splitPanel = (SplitLayoutPanel)
getWidget();*
* splitPanel.setWidgetSize(splitPanel.getWidget(0), width);*
}
};
cellBrowser.setDefaultColumnWidth(300);
So we apply the suggested fix inside an anonymous subclass of CellBrowser,
where we override the damaged version of setDefaultColumnWidth to also set
the width of the CellBrowser's SplitLayoutPanel.
Hope that helps,
O!
--
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.