From f0496f62eae53dfc8f0a2f61bef5f207fdc27446 Mon Sep 17 00:00:00 2001 From: Fatih Uzunoglu Date: Mon, 18 Mar 2024 17:27:10 +0200 Subject: [PATCH] qml: derive from LabelExt in CaptionLabel --- modules/gui/qt/widgets/qml/CaptionLabel.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/gui/qt/widgets/qml/CaptionLabel.qml b/modules/gui/qt/widgets/qml/CaptionLabel.qml index cf34eb3f78..f2840847fa 100644 --- a/modules/gui/qt/widgets/qml/CaptionLabel.qml +++ b/modules/gui/qt/widgets/qml/CaptionLabel.qml @@ -16,10 +16,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ import QtQuick 2.12 -import QtQuick.Templates 2.12 as T import "qrc:///style/" -T.Label { +LabelExt { elide: Text.ElideRight font.pixelSize: VLCStyle.fontSize_normal textFormat: Text.PlainText