mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 23:51:33 +08:00
Fixed default elide mode in DockWidgetTab.cpp
This commit is contained in:
parent
ddbdb83821
commit
bc2ac48eab
@ -176,7 +176,7 @@ DockWidgetTabPrivate::DockWidgetTabPrivate(CDockWidgetTab* _public) :
|
|||||||
void DockWidgetTabPrivate::createLayout()
|
void DockWidgetTabPrivate::createLayout()
|
||||||
{
|
{
|
||||||
TitleLabel = new tTabLabel();
|
TitleLabel = new tTabLabel();
|
||||||
TitleLabel->setElideMode(Qt::ElideNone);
|
TitleLabel->setElideMode(Qt::ElideRight);
|
||||||
TitleLabel->setText(DockWidget->windowTitle());
|
TitleLabel->setText(DockWidget->windowTitle());
|
||||||
TitleLabel->setObjectName("dockWidgetTabLabel");
|
TitleLabel->setObjectName("dockWidgetTabLabel");
|
||||||
TitleLabel->setAlignment(Qt::AlignCenter);
|
TitleLabel->setAlignment(Qt::AlignCenter);
|
||||||
|
Loading…
Reference in New Issue
Block a user