Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
5.1.0 Beta 1
-
None
-
a6b01ff80139247ee2c4b41e9ebcf3694d83514b, graphicslayouts: cf366e8b862a616efd7c3d4683d59971f795d476
Description
In the code below I would expect the rectangle to stretch to fill the width of the RowLayout. Without explicitly setting the width to a value > 0, that doesn't happen. This is also true with Layout.fillHeight.
import QtQuick 2.1 import QtQuick.Layouts 1.0 RowLayout { width: 100 height: 100 Rectangle { Layout.fillWidth: true color: 'red' //width: 1 // uncomment to make the red rectangle show up height: 10 } }