On Tue, 2002-01-01 at 00:25, Philip Blundell wrote:
> In message <1009762909.743.10.camel@epsilon>, Robert Mibus writes:
> >What is the 'accepted' way of creating a widget just for it's size? I
> >want to insert extra rows into the list (otherwise if you only have
> >three items they'll take up the whole height), and to pad it ATM I'm
> >using GtkLabels with no text. What *should* I use? Or should I force the
> >size of the buttons?
>
> Forcing the size of the buttons seems a reasonable idea. But if you mean that
> you just want to stop the icons filling the whole area, can't you just create
> the vboxes with "expand" and "fill" set to false?
The biggest problem is that if their contents need the space, they will
try and take it; expand & fill are only for empty space. I've just
played around some with that and now the buttons end up centered
horizontally (though not vertically, strangely). Hmm...
Has anyone looked at the widget the GIMPs toolbox uses? That can
automatically create an appropriate number of columns/rows, it could be
useful for when the screen is rotated etc.
mibus
-- Robert Mibus <mibus@bigpond.com> "If you weren't my teacher, I'd think you just deleted all my files." (an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.)Received on Tue Jan 1 21:42:55 2002
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:41:27 EDT