Po Lu wrote: > Richard Hansen writes: > >> Can the toolbar be nested inside a container widget whose size we can >> control? > > Perhaps, but then we would only be controlling the size of that widget, > and not the toolbar itself. Can the dimensions of the toolbar be inspected? If so, we can force the container widget to never shrink if `auto-resize-tool-bars' is `grow-only'. > > GTK toolbars don't wrap extra items, they truncate them. So > `auto-resize-tool-bars' has no real chance of working anyway. If the toolbar width changes, we could do the (un)wrapping ourselves: move the buttons to/from another toolbar underneath the upper toolbar. The lower toolbar would still be inside the same container widget as the upper toolbar, and `grow-only' would pay attention to the sum of the heights of the toolbars. Would that work? (Sorry for all of the questions; I'm not familiar with GTK. But I'm willing to spend some time to cook up some patches if given some hints on how to tackle the problem.)