wrap/elide: use Layout.fillWidth when possible

This commit is contained in:
miruka
2019-07-16 05:08:27 -04:00
parent 7f46bafc9e
commit d5dd1292ff
8 changed files with 18 additions and 21 deletions

View File

@@ -78,6 +78,7 @@ HGridLayout {
color: Qt.hsla(0, 0, 0.9, 1)
font.pixelSize: theme.fontSize.big
wrapMode: Text.WordWrap
Layout.fillWidth: true
Layout.alignment: Qt.AlignCenter
}

View File

@@ -41,7 +41,7 @@ Item {
wrapMode: Text.Wrap
Layout.margins: rememberBox.margins
Layout.maximumWidth: rememberBox.width - Layout.margins * 2
Layout.fillWidth: true
}
HSpacer {}