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

Add scrollbuttons for tabs when tabbar is full

When there are too many tabs to be shown in the window, a scrollbar
appears in the tabbar (this is not great usability-wise, but still
beat window auto-resizing, particularly when the window is already
maximized)

This is part of this merge request
!25
I'll leave changing TextElideMode for later review.

CCBUG: 403059
FIXED-IN: 19.08.1
parent dd2c940c
......@@ -36,7 +36,6 @@ DetachableTabBar::DetachableTabBar(QWidget *parent) :
tabId(-1)
{
setAcceptDrops(true);
setUsesScrollButtons(false);
setElideMode(Qt::TextElideMode::ElideMiddle);
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