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.

https://invent.kde.org/utilities/konsole/-/merge_requests/32
wilder-portage
Yap Sok Ann 6 years ago committed by Kurt Hindenburg
parent 9b39939b9e
commit 266f831c50
  1. 2
      src/DetachableTabBar.cpp

@ -39,7 +39,7 @@ DetachableTabBar::DetachableTabBar(QWidget *parent) :
tabId(-1)
{
setAcceptDrops(true);
setElideMode(Qt::TextElideMode::ElideMiddle);
setElideMode(Qt::TextElideMode::ElideLeft);
KAcceleratorManager::setNoAccel(this);
}

Loading…
Cancel
Save