Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
None
Description
Can we have a simple way to make items grow equally regardless of their implicit sizes?
Especially in mobile/embedded, it's very common to have the same size for each button/control in a row to make them align with other content.
RowLayout { width: parent.width / 2 Button { text: "OK" Layout.fillWidth: true } Button { text: "Cancel" Layout.fillWidth: true } }
Attachments
Issue Links
- duplicates
-
QTBUG-32923 Add stretch factor in QtQuick.Layout
- Closed