Constraints can break minimum width
When using GtkConstraintLayout
there can be cases (in my experience opening the Inspector, maximizing or setting a default window size) where afterwards the minimum width seems to be set to the current widget width, which prevents one from making the width smaller, even if it should theoretically be possible.
Steps to reproduce
- Open a example for constraints in the GTK4 Demo.
- Increase the width of the window containing the constraint.
- Launch the Inspector with the shortcut and close it again.
- Attempt to reduce the width of the window back to the original width.
Current behavior
The window can't be reduced to it's originally width. Instead, the minimum size is now at the point when point 3 was done.
Expected outcome
You should be able to return the window width to it's originally size.
Version information
The steps to reproduce were run in the GTK4 demo flatpak from GNOME Nightly repository, version 4.5.0-e3a1a2e0.