Commit 266f831c authored by Sok Ann Yap's avatar Sok Ann Yap Committed by Kurt Hindenburg

Keep the last bits of tab title with ElideLeft

This was the behavior since commit ca61bd99 (included since version
4.4.80), but was lost in the QTabBar revamp, and then re-added with
ElideMiddle in commit d375a694.

Both ElideLeft and ElideMiddle have their merits. However, as the
QTabBar revamp aimed to preserve existing behavior as much as possible,
we restore the old behavior first.

!32
parent 9b39939b
......@@ -39,7 +39,7 @@ DetachableTabBar::DetachableTabBar(QWidget *parent) :
tabId(-1)
{
setAcceptDrops(true);
setElideMode(Qt::TextElideMode::ElideMiddle);
setElideMode(Qt::TextElideMode::ElideLeft);
KAcceleratorManager::setNoAccel(this);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment