On Sun, Sep 18, 2011 at 6:14 PM, Marco Pesenti Gritti <ma...@marcopg.org> wrote: > On 18 Sep 2011, at 13:47, Daniel Drake <d...@laptop.org> wrote: >> + # ask not to be collapsed if possible >> + self.set_size_request(4 * style.GRID_CELL_SIZE, -1) > > This sucks a bit. Doesn't packing the toolbar with expand true work?
If expand=True, the zoom toolbar gets given one half of the frame space, with the other half used by the activity icon list. This results in the zoom toolbar being shown in the top left, followed by a big uncomfortable gap, then the activity icon list mid way through the frame. This matches the GTK+ documentation which says: expand : TRUE if the new child is to be given extra space allocated to box. The extra space will be divided evenly between all children of box that use this option In this case we don't want even division. GTK3 may indeed be better, with widgets now able to provide both a "natural" and a "minimum" size in size requests, rather than just the single measurement they have now. Daniel _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel