mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
VerticalTabs: Disable scrollbars in other direction
This commit is contained in:
parent
dd3c570c41
commit
e5a599ee23
@ -39,6 +39,7 @@ TabListView::TabListView(BrowserWindow *window, QWidget *parent)
|
||||
setFlow(QListView::LeftToRight);
|
||||
setFocusPolicy(Qt::NoFocus);
|
||||
setFrameShape(QFrame::NoFrame);
|
||||
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||
|
||||
|
@ -41,6 +41,7 @@ TabTreeView::TabTreeView(BrowserWindow *window, QWidget *parent)
|
||||
setMouseTracking(true);
|
||||
setFocusPolicy(Qt::NoFocus);
|
||||
setFrameShape(QFrame::NoFrame);
|
||||
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||
setIndentation(0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user