Commit 582bd8e0 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Cursor Theme KCM] Elide size ComboBox text

Vanilla ItemDelegate elides but this one has custom contentItem to add the cursor preview.
This lead to the delegate text overflowing its bounds on certain locales.

Differential Revision: https://phabricator.kde.org/D25264
parent d0b9584c
...@@ -134,6 +134,7 @@ KCM.GridViewKCM { ...@@ -134,6 +134,7 @@ KCM.GridViewKCM {
Layout.fillWidth: true Layout.fillWidth: true
color: sizeComboDelegate.highlighted ? Kirigami.Theme.highlightedTextColor : Kirigami.Theme.textColor color: sizeComboDelegate.highlighted ? Kirigami.Theme.highlightedTextColor : Kirigami.Theme.textColor
text: model[sizeCombo.textRole] text: model[sizeCombo.textRole]
elide: Text.ElideRight
} }
} }
} }
......
Markdown is supported
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