RE: GtkAlignment makes things smaller, but surrouning don't get b igger

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: RE: GtkAlignment makes things smaller, but surrouning don't get bigger

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 can't be changed by user. For example when the user resizes the application's window.

- erik


>-----Original Message-----
>From: Ben Johnson [mailto:ben@xxxxxxxxx]
>Sent: Sunday, March 06, 2005 1:29 PM
>To: gtk-list
>Subject: GtkAlignment makes things smaller, but surrouning
>don't get bigger
>
>
>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 looking too big while others are too small.  It seems
>reasonable
>to think that forcing the too big widgets to shrink with a GtkAlignment
>object would result in the other too small widgets to expand.  No luck.
>I wind up with two blocks of widgets with lots of space between them.
>How to make the widgets that I too small take up the available space?
>
>Thanks,
>
>- Ben
>_______________________________________________
>
>gtk-list@xxxxxxxxx
>http://mail.gnome.org/mailman/listinfo/gtk-list
>

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux