Tuesday, October 27, 2015

Re: How to eliminate extra balnk column in CellBrowser

Yeah, I guess I was assuming that the last column only contains leaf values so that the right-most splitter was unnecessary, but that might not be the case in general (although in my case it is).

I now dynamically compute and set the default column width to be 1/5 of the total width of my CellBrowser. This way I don't have any empty space after the last "HDragger".

Thanks for the help.


On Tuesday, October 27, 2015 at 11:57:38 AM UTC-6, Thomas Broyer wrote:
Oh, there's no "last column", it's "empty space".
CellBrowser is given some width, then each column is created with a default width (configurable), filling empty space until they overflow and then an horizontal scrollbar appears.
BTW, I think you notice this behavior only because the last column contains only leaf values, but what if it contained both leaf and non-leaf ones?

So in your case maybe "just" configure a larger default column width?

On Tuesday, October 27, 2015 at 4:26:51 PM UTC+1, Rogelio Flores wrote:

Here's a screenshot from the Showcase using Chrome on openSUSE 13.2. Note the last column on the right (empty and unneeded):


I also see the same in Firefox (linux), and on Windows (at least Chrome but I think all other browsers).

Here's a screenshot of my app's use of this widget, which might show better why such behavior is undesirable to me:



On Monday, October 26, 2015 at 5:52:29 PM UTC-6, Thomas Broyer wrote:
In which browser are you seeing this? No issue for me in Chrome (for Android).
Either that or I didn't understand the issue (a screenshot might help)

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment