wrap/elide: use Layout.fillWidth when possible
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
@@ -41,7 +41,7 @@ Item {
|
||||
wrapMode: Text.Wrap
|
||||
|
||||
Layout.margins: rememberBox.margins
|
||||
Layout.maximumWidth: rememberBox.width - Layout.margins * 2
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
HSpacer {}
|
||||
|
Reference in New Issue
Block a user