From 19bded13cec110dd189a32cd9989d394adf5d237 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Thu, 23 May 2024 17:39:55 +0300 Subject: [PATCH] plasma: automatically elide the text from Plasma::Label when not wrapping words this may have to be made an option tho but for now it is not because word wrapping is an option Signed-off-by: Ivailo Monev --- plasma/widgets/label.cpp | 33 +++++++++++++++++++++++++++++++-- plasma/widgets/label.h | 1 + 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/plasma/widgets/label.cpp b/plasma/widgets/label.cpp index f626b32e..10dc959f 100644 --- a/plasma/widgets/label.cpp +++ b/plasma/widgets/label.cpp @@ -36,11 +36,20 @@ public: : ThemedWidgetInterface