GNOME Bugzilla – Bug 314163
no-overflow toolitems
Last modified: 2013-08-14 00:51:11 UTC
I'd like to have a way to disallow overflowing a toolitem on a toolbar. I.e., when the toolbar contains item s A B C and B is never-overflow, and I shrink the toolbar, first C is overflown, then A is overflown, and then the toolbar can shrink no further. (Or maybe stop overflowing already when the rightmost toolitem is never-overflow?) (I want to use this for the location entry in Epiphany.)
If we do this, I certainly think we should stop when the rightmost toolitem is never-overflow. But it doesn't seem like it would be easy to understand what was going on though: "I added a location entry, and now epiphany can't be resized?"
I am not necessarily adverse to adding a gtk_tool_item_is_overflown() method though if that would help with bug 169956.
> "I added a location entry, and now epiphany can't be resized?" You could still resize it; the location entry would shrink to its minimum width, then resizing would stop. That's not different than any other window which has a mimimum width defined by the things it contains.
See also: Bug 412385
don't think this is going to happen, at this point