Commit 63db1353 authored by Nate Graham's avatar Nate Graham
Browse files

Set minimum width for single/double-click explanatory text

Otherwise, depending on the parameters of the rest of the layout, this
text can either get elided on the right, or else cause the layout to
change where it's centered when the text changes.

BUG: 435685
FIXED-IN: 5.22
parent ca18cc6c
......@@ -183,6 +183,7 @@ KCM.SimpleKCM {
QQC2.Label {
Layout.fillWidth: true
Layout.minimumWidth: Kirigami.Units.gridUnit * 15
text: singleClick.checked ? i18n("Select by clicking on item's selection marker") : i18n("Open by double-clicking instead")
elide: Text.ElideRight
font: PlasmaCore.Theme.smallestFont
......
......@@ -151,6 +151,7 @@ KCM.SimpleKCM {
QQC2.Label {
Layout.fillWidth: true
Layout.minimumWidth: Kirigami.Units.gridUnit * 15
text: singleClick.checked ? i18n("Select by clicking on item's selection marker") : i18n("Open by double-clicking instead")
elide: Text.ElideRight
font: PlasmaCore.Theme.smallestFont
......
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