Re: Auto-resize scrolled window



I've already tried this. I'm afraid the scrolled window resizes horizontally, but not vertically. I've even tried putting it into a GtkAlignment with full expansion. It's in a vbox btw.

On 09/21/15 17:46, Chris Moller wrote:

     Try gtk_window_set_default_size ()

On 09/21/15 20:33, Subsentient wrote:
When I resize the window, I'm having difficulty finding a way to make a scrolled window automatically resize with it. I can't use gtk_widget_set_size_request(), because then I won't be able to shrink it down again. Working in C. How can I have a widget automatically resize to fill all available space given by a window, and then be willing to shrink again if the user tries to resize the window?

Thanks.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



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