Re: Scrolled window initial size
- From: jcupitt gmail com
- To: j romildo gmail com
- Cc: gtk-list gnome org
- Subject: Re: Scrolled window initial size
- Date: Sat, 11 Oct 2008 12:13:23 +0100
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]