Container resizing behaviour changed in Gtk 3?

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

 



The behaviour of containers when their contents try
to resize themselves seems to have changed between
Gtk 2 and Gtk 3.

In Gtk 2, if you have a GtkLayout carrying a
GtkFrame that contains a GtkTextView, and use
set_size_request() to set the size of the GtkFrame,
it stays that size. If you type more text into the
GtkTextView than will fit in the visible area,
it auto-scrolls.

But in Gtk 3, the GtkTextView and its containing
GtkFrame seem to enlarge themselves without limit
to accommodate the text.

I don't want that to happen. Is there some way of
getting the old behaviour back? I can't find any
way of setting the *maximum* size of a widget.

Thanks,
Greg
_______________________________________________
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