On Sun, Feb 13, 2011 at 5:49 AM, Allin Cottrell <cottr...@wfu.edu> wrote:
> I'm using gtk_widget_set_size_request on a GtkTreeView that gets
> embedded in a scrolled window which in turn is embedded in a
> larger window -- setting the width to 120 and leaving the height
> unset.
>
> This works as expected in gtk2, but in gtk3 the treeview's window
> is much narrower (doesn't look like 120), and its width doesn't
> respond even if I double the request. Am I missing some change in
> the widget-sizing code?

Yes that has changed, setting the size request now only effects
the widgets requested size.

We added gtk_scrolled_window_set_min_content_width() specifically
for your purposes.

Cheers,
         -Tristan
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to