-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.10.0
-
None
FlexboxLayout doesn't seem to account for the gap size when computing it's size based on it's children. Here an example snippet showcasing the issue:
Window
{
visible: true
color: "black"
FlexboxLayout
{
id: flex
direction: FlexboxLayout.Column
gap: 30
Box{}
Box{}
Box{}
}
Rectangle
{
anchors.fill: flex
color: "#44ffff00"
}
component Box: Rectangle
{
implicitWidth: 50
implicitHeight: 50
}
}
The resulting window:
