forked from joejulian/gio
52ccc183b5
The previous change fixed a regression where minimum constraints larger than 0 would not affect the button. This change moves the minimum constraints one level lower so the content widget will see them as well. The wrapping layout.Center ensures that any misbehaving widgets still end up centered. Add a test to lock in the new behaviour and the previous fix. Signed-off-by: Elias Naur <mail@eliasnaur.com>