From bc2ac48eab839a75bf4f1fc6cb76fcf9b29557cc Mon Sep 17 00:00:00 2001 From: Uwe Kindler Date: Fri, 24 Apr 2020 09:29:33 +0200 Subject: [PATCH] Fixed default elide mode in DockWidgetTab.cpp --- src/DockWidgetTab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DockWidgetTab.cpp b/src/DockWidgetTab.cpp index 113e47f..06ec182 100644 --- a/src/DockWidgetTab.cpp +++ b/src/DockWidgetTab.cpp @@ -176,7 +176,7 @@ DockWidgetTabPrivate::DockWidgetTabPrivate(CDockWidgetTab* _public) : void DockWidgetTabPrivate::createLayout() { TitleLabel = new tTabLabel(); - TitleLabel->setElideMode(Qt::ElideNone); + TitleLabel->setElideMode(Qt::ElideRight); TitleLabel->setText(DockWidget->windowTitle()); TitleLabel->setObjectName("dockWidgetTabLabel"); TitleLabel->setAlignment(Qt::AlignCenter);