Closed ricvelozo closed 9 months ago
Thanks for filling an issue. Maybe the documentation should be improved. Or possibly more flag should be added to the layouts.
The layout always stretch the widgets in the orthogonal direction.
So to do what you try to achieve, you need to add another HorizontalLayout: example
Duplicate of https://github.com/slint-ui/slint/issues/2587
The Button doesn't respects the
horizontal-stretch
property when there is a bigger sibling, like that Label:Using Fedora 38, GNOME 44/X11. The
Cargo.toml
: