Re: Scrolled window initial size



2008/10/11  <j romildo gmail com>:
> I want to put some widget in a scrolled window, but I want it initially
> displayed in its full size. The scroll bars will be useful when the top
> level window becomes smaller.

Unfortunately, this is not possible at the moment. GTK is due to get
fancier size negotiation, but it's not arrived yet.

Until then, the best you can do is set the initial size of the
enclosing window to a large enough value with
gtk_window_set_default_size(). Getting the size exactly right is very
hard since it will change with different fonts and themes, sadly.

John


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