Re: Auto-resize scrolled window

2015-09-22 Thread Gergely Polonkai
Can you also show us your widget hierarchy like Lucas did? The problem you outline should not happen in a usual hierarchy. On 22 Sep 2015 22:11, "Subsentient" wrote: > GTK 2, using C calls. > > On 09/22/15 08:52, Gergely Polonkai wrote: > > Before anyone could actually answer: > > • what version

Re: Auto-resize scrolled window

2015-09-22 Thread Subsentient
GTK 2, using C calls. On 09/22/15 08:52, Gergely Polonkai wrote: Before anyone could actually answer: • what version of GTK are you using? • how do you build your window? Are you using plain C calls, or some UI builder like Glade? Best, Gergely On 22 Sep 2015 02:33, "Subsentient"

Re: Auto-resize scrolled window

2015-09-22 Thread Gergely Polonkai
Before anyone could actually answer: • what version of GTK are you using? • how do you build your window? Are you using plain C calls, or some UI builder like Glade? Best, Gergely On 22 Sep 2015 02:33, "Subsentient" wrote: > When I resize the window, I'm having difficulty finding a way to make

Re: Auto-resize scrolled window

2015-09-22 Thread Lucas Levrel
Le 21 septembre 2015, Subsentient a écrit : 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

Re: Auto-resize scrolled window

2015-09-21 Thread Subsentient
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, Subsenti

Re: Auto-resize scrolled window

2015-09-21 Thread Chris Moller
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.

Auto-resize scrolled window

2015-09-21 Thread Subsentient
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