Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.6.0, 6.7.0, 6.7.2
-
None
-
Wayland (Hyprland)
Linux (NixOS unstable b73c2221a46c13557b1b3be9c2070cc42cf01eb3)
Description
It is not possible to constrain a layout to be smaller than the preferred size of its children, and Layout.minimumWidth has no effect. Setting implicit size instead of preferred size makes no difference.
Attached is a sample containing rectangles anchored in various ways inside the layout. When the size of the layout is smaller than their preferred width, the layout will still use space according to the largest child's preferred size, positioning all others accordingly. It should shrink the items to fit the available space.
Tested 6.7.2, 6.7.0, 6.6.0