Skip to content

Commit 7ef7e23

Browse files
author
Jeremy Whiting
committed
CODA-Q: Hide border around tabs.
To prevent a white line appearing around the whole document/window on GNOME hide the border around the tabwidget completely. Signed-off-by: Jeremy Whiting <[email protected]> Change-Id: I112ffeda99082ffc6ba234c1f91faec2d4361b1e
1 parent 2bb424c commit 7ef7e23

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

qt/DetachableTabs.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ DetachableTabWidget::DetachableTabWidget(QWidget* parent)
149149
setTabBar(tabBar);
150150
connect(tabBar, &DetachableTabBar::detachTabRequested,
151151
this, &DetachableTabWidget::handleDetachRequest);
152+
153+
// Hide borders around tabs/windows on GNOME
154+
setStyleSheet("QTabWidget::pane { border: none; }");
152155
}
153156

154157
DetachableTabWidget::~DetachableTabWidget() {

0 commit comments

Comments
 (0)