qarmin
(Rafał Mikrut)
1
Hi,
I’m using gtk-rs and need to resize dialog window to be as small as possible.
This is my dialog in Glade
Sometimes I just hide selected area and sometimes Label “Stage 1/2” and windows looks that after changes
and I need to resize it manually to this(just looks better)
How can I resize it automatically from code?
lb90
2
Just call dialog.resize(1, 1)
after hiding the child widgets. That should do the trick.
See: https://developer.gnome.org/gtk3/stable/GtkWindow.html#gtk-window-resize
1 Like
system
(system)
Closed
3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.