Commit 83029afb authored by Nate Graham's avatar Nate Graham
Browse files

Increase minimum header text width to prevent UI jumpiness

And increase the maximum widths of other things to keep them in sync.

BUG: 458014
FIXED-IN: 5.26
parent 1428eac1
Pipeline #221586 passed with stage
in 10 minutes and 2 seconds
......@@ -77,7 +77,7 @@ SimpleKCM {
Kirigami.FormData.label: i18n("Plasma:")
readonly property var currentMode: modeOptions[value]
Layout.fillWidth: true
Layout.maximumWidth: Kirigami.Units.gridUnit * 21
Layout.maximumWidth: Kirigami.Units.gridUnit * 22
readonly property var modeOptions: [UserFeedback.Provider.NoTelemetry, UserFeedback.Provider.BasicSystemInformation, UserFeedback.Provider.BasicUsageStatistics,
UserFeedback.Provider.DetailedSystemInformation, UserFeedback.Provider.DetailedUsageStatistics]
......@@ -115,7 +115,8 @@ SimpleKCM {
Kirigami.Heading {
Layout.fillWidth: true
Layout.alignment: Qt.AlignHCenter
Layout.maximumWidth: Kirigami.Units.gridUnit * 21
Layout.preferredWidth: Kirigami.Units.gridUnit * 22
Layout.maximumWidth: Kirigami.Units.gridUnit * 29
wrapMode: Text.WordWrap
level: 3
text: feedbackController.telemetryName(statisticsModeSlider.currentMode)
......@@ -126,7 +127,7 @@ SimpleKCM {
QQC2.Label {
Layout.fillWidth: true
Layout.alignment: Qt.AlignHCenter
Layout.maximumWidth: Kirigami.Units.gridUnit * 21
Layout.maximumWidth: Kirigami.Units.gridUnit * 22
wrapMode: Text.WordWrap
text: i18n("The following information will be sent:")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment