Re: Gtk::Grid auto resize



Hi Ian,
Thanks a lot for reply, I already figured out after experimenting.

Had to call both set_*homogenous() functions with 'false'. and also make the top widget pack the grid with Gtk::PACK_EXPAND_WIDGET and it works now.

Thanks a lot for reply!


On Sat, Dec 12, 2015 at 8:07 PM, Ian Martin <martin_id vodafone co nz> wrote:
Hi,
How is the grid added to it's parent window?

Ian

On 12/12/15 12:14, codekiddy wrote:
Hi,
I have a Gtk::Grid filled with custom made widgets, the widgets do auto resize if used without the grid (ex. packed to top window), but the grid does not auto resize as the top window resizes, and keeps all the child widgets the same size.

I tried set_row_homogenous() and set_column_homogenous(), and also "set_align" sort of functions, and none helped.

How to solve this?
using gtkmm 3.16

Hopefully I provided enough info, if not please let me know.
thank you!


_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list




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