Hi.
I have a hard time getting widgets to take up as much of the screen as I
want them to. Is there a trick to getting widgets to take up more
space? I set the expand and fill properties on everything because I
want all available space to be consumed. Inevitably I wind up with some
widgets look
On Mon, Mar 07, 2005 at 09:40:45AM +0200, Karlsson, Erik wrote:
> Hi,
>
> Have you tried GtkWidget's gtk_widget_set_size_request function. It can be
> used
> to increase the default size of the widget. It is not perhaps good practice to
> use it because it defines minimum size of the widget that
Ben Johnson wrote:
Hi.
I have a hard time getting widgets to take up as much of the screen as I
want them to. Is there a trick to getting widgets to take up more
space? I set the expand and fill properties on everything because I
want all available space to be consumed. Inevitably I wind up with
On Mon, Mar 07, 2005 at 08:19:17AM -0500, Owen Taylor wrote:
...
>
> GtkAlignment is all about the amount of space that a widget takes up
> *within the space that it was allocated*.
>
> To determine to which child of a container excess space gets allocated,
> look at the 'expand' parameter of gtk
On Mon, 2005-03-07 at 13:30 -0800, Ben Johnson wrote:
> On Mon, Mar 07, 2005 at 08:19:17AM -0500, Owen Taylor wrote:
> ...
> >
> > GtkAlignment is all about the amount of space that a widget takes up
> > *within the space that it was allocated*.
> >
> > To determine to which child of a container
On Mon, Mar 07, 2005 at 04:55:55PM -0500, Owen Taylor wrote:
...
> Setting the expand property on the buttons will have no affect on
> how the GtkVBox allocates space. You'd have to set the property on
> the immediate child of the GtkVBox.
>
> (Note that 'expand' is actually a "child property". Th
On Mon, 2005-03-07 at 18:32 -0800, Ben Johnson wrote:
> this is more or less what I'm doing...
>
> mydialog = gtk_dialog_new ();
> gtk_window_set_title(GTK_WINDOW (mydialog), "Payment Amount");
> gtk_window_set_position (GTK_WINDOW (mydialog), GTK_WIN_POS_CENTER);
> gtk_window
On Mon, Mar 07, 2005 at 10:56:30PM -0500, Owen Taylor wrote:
> On Mon, 2005-03-07 at 18:32 -0800, Ben Johnson wrote:
>
> > this is more or less what I'm doing...
> >
> > mydialog = gtk_dialog_new ();
> > gtk_window_set_title(GTK_WINDOW (mydialog), "Payment Amount");
> > gtk_window_s
On Mon, 2005-03-07 at 20:45 -0800, Ben Johnson wrote:
> On Mon, Mar 07, 2005 at 10:56:30PM -0500, Owen Taylor wrote:
> - If I set expand on *any* widgets to FALSE, they end up too small.
Then either add padding to them (or set a minimum size with
gtk_widget_set_size_request()). If a widget is to
On Tue, Mar 08, 2005 at 12:12:53PM -0500, Owen Taylor wrote:
...
> > - If I set expand on *any* widgets to FALSE, they end up too small.
>
> Then either add padding to them (or set a minimum size with
> gtk_widget_set_size_request()). If a widget is to small when not
> set to expand, then it will
btw. during our conversation, I've come to believe that the interaction
between the GtkAlignment object and the EXPAND and FILL flags isn't
working as the documentation implies it should. EXPAND and FILL, if set
on all widgets should cause the available space to be consumed. If the
size of one o
On Tue, 2005-03-08 at 12:35 -0800, Ben Johnson wrote:
> btw. during our conversation, I've come to believe that the interaction
> between the GtkAlignment object and the EXPAND and FILL flags isn't
> working as the documentation implies it should. EXPAND and FILL, if set
> on all widgets should c
12 matches
Mail list logo