Fix control center dialog text width

pull/7/head
reionwong 4 years ago
parent 40426b72bc
commit 6abf4d7149

@ -98,7 +98,7 @@ Item {
Layout.preferredHeight: control.height * 0.3 Layout.preferredHeight: control.height * 0.3
sourceSize: Qt.size(width, height) sourceSize: Qt.size(width, height)
asynchronous: true asynchronous: true
Layout.alignment: Qt.AlignCenter Layout.alignment: Qt.AlignHCenter
Layout.topMargin: FishUI.Units.largeSpacing Layout.topMargin: FishUI.Units.largeSpacing
// ColorOverlay { // ColorOverlay {
@ -129,7 +129,7 @@ Item {
elide: Label.ElideRight elide: Label.ElideRight
Layout.preferredHeight: control.height * 0.1 Layout.preferredHeight: control.height * 0.1
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
// Layout.fillWidth: true Layout.maximumWidth: control.width - FishUI.Units.largeSpacing
Layout.bottomMargin: FishUI.Units.largeSpacing Layout.bottomMargin: FishUI.Units.largeSpacing
} }

Loading…
Cancel
Save