Re: Scrolling Problems with a Floating Widget
- From: Kristian Rietveld <kris gtk org>
- To: Tadej Borovšak <tadeboro gmail com>
- Cc: gtk-list gnome org
- Subject: Re: Scrolling Problems with a Floating Widget
- Date: Thu, 12 May 2011 12:10:06 +0200
Hi,
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.
regards,
-kris.
[1] http://developer.gnome.org/gtk3/stable/GtkScrolledWindow.html#gtk-scrolled-window-set-min-content-width
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)
>> http://i.imgur.com/mzrnc.png
>
> 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.blogspot.com
> tadeboro gmail com
> tadej borovsak gmail com
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]