First column in CellBrowser - width not working

46 views
Skip to first unread message

sevendays

unread,
Dec 31, 2010, 8:00:10 AM12/31/10
to google-we...@googlegroups.com
I can't get the width of the first column in my CellBrowser to work properly. The first column displays too narrowly, All other columns work fine. I use the following code:

        browser = new CellBrowser(model, null);
        browser.setMinimumColumnWidth(440);
        browser.setDefaultColumnWidth(440);


I have checked the generated HTML and the first column is generated with a width of 200px. The other columns are generated with a width of 440, as per the values defined in GWT.

Any idea what's up with this?
Message has been deleted

Thomas Broyer

unread,
Jan 2, 2011, 9:08:48 AM1/2/11
to google-we...@googlegroups.com
See http://code.google.com/p/google-web-toolkit/issues/detail?id=5797 which I believe is the same (or very similar) issue/request-for-enhancement.

sevendays

unread,
Jan 3, 2011, 9:19:26 AM1/3/11
to google-we...@googlegroups.com
This appears to be exactly my issue. I have starred the issue - fingers crossed it gets fixed soon.

I wonder if I could do a workaround/hack involving creating a dummy first column, then hiding it in CSS or something.

Do you know of any way of assigning CSS classes/IDs to only the first column?

sevendays

unread,
Feb 3, 2011, 5:57:07 PM2/3/11
to google-we...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages