Re: newbie: increasing size of widgets



On Wed, 2003-10-29 at 07:51, David Sword wrote:
How do I increase the size of the scrolledwindow/simplelist so that it
shows more of the simplelist?

one thing to look at is how the widget is being packed into it's
container. if it's packed into a vbox or hbox then you'll want to make
sure that the expand and fill parameters are true in the pack_start/end
call in which it's packed. 

if you're packing it into a table similar things probably apply (i'm not
really familiar with tables, never had occasion to use them)

failing that you may want to have a look at
http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#gtk-widget-set-size-request for info on how to 
request that a widget be no smaller than a given width and height. 

-rm




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