Re: Scrolled window initial size

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

 



2008/10/11  <j.romildo@xxxxxxxxx>:
> 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
_______________________________________________
gtk-list mailing 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