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

Re: window and widget resize



On Wed, 2007-10-17 at 12:28 +0400, AlannY wrote:
> I have that interface:

Nice ASCII art, there.

> After I'm resizing window, my program looks like:
> 
> +-------------------+
> | +---------------+ |
> | |               | |
> | |   Widget 1    | |
> | |               | |
> | +---------------+ |
> | +---------------+ |
> | |               | |
> | |   Widget 2    | |
> | |               | |
> | +---------------+ |
> |                   |
> |    Blank Space    |
> |                   |
> +-------------------+

I assume you're using a GtkVBox here. If so, you simply need to pack
Widgets into it with the expand and fill properties set to true, as
described in
http://library.gnome.org/devel/gtk/2.12/GtkBox.html#gtk-box-pack-start

AfC
Sydney



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