Re: Scrolling Problems with a Floating Widget


After a very quick read of your mail I *think* you want to look into gtk_scrolled_window_set_min_content_width() [1] and its height variant.




On May 12, 2011, at 11:09 AM, Tadej Borovšak wrote:

> Hello.
>> I have done what you said, however the issue is that the TreeView,
>> despite the setting of a size request of (0, 0) is not scrolled, it just
>> takes up all the space and can't be resized, (screenshot here)
> I tested this and you're right: when linked against GTK+-3.0, treeview
> ignores set size request. I also linked your sample app with GTK+-2.0
> and things work as expected.
>> How can I make it so that the TreeView does not do this, so that it can
>> be scrolled? (Code is at the end)
> Maybe someone that is familiar with GtkSizeRequest interface/GtkTreeView
> can help here? Additionaly, could this be considered a regression in GTK
> itself?
> Cheers,
> Tadej
> -- 
> Tadej Borovšak
> tadeboro gmail com
> tadej borovsak gmail com
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org

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