[plasma-mobile/plasma-settings] src/qml: SidebarDelegate: Elide text
Kai Uwe Broulik <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 40dc031cc87e97c7293320580b9a741db8044c5b by Kai Uwe Broulik.
Committed on 10/08/2026 at 15:34.
Pushed by broulik into branch 'master'.
SidebarDelegate: Elide text
Ensures it does't just get cut off.
M +1 -0 src/qml/SidebarDelegate.qml
https://invent.kde.org/plasma-mobile/plasma-settings/-/commit/40dc031cc87e97c7293320580b9a741db8044c5b
diff --git a/src/qml/SidebarDelegate.qml b/src/qml/SidebarDelegate.qml
index e31e314d..4c4d40b0 100644
--- a/src/qml/SidebarDelegate.qml
+++ b/src/qml/SidebarDelegate.qml
@@ -41,6 +41,7 @@ Delegates.RoundedItemDelegate {
id: label
text: root.text
+ elide: Text.ElideRight
opacity: root.display !== Controls.AbstractButton.TextOnly ? 1 : 0
Accessible.ignored: true