clean border between tabbar and content (#392)

This commit is contained in:
jetownfeve21 2020-04-01 19:23:35 +02:00 committed by GitHub
parent 2efdfeb842
commit 99ac7ab090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -114,6 +114,7 @@ QMenu::indicator {
QTabBar {
font-size: 16px;
icon-size: 24px;
border-bottom: 1px solid #ccc;
}
QTabBar::tear {

View File

@ -16,6 +16,7 @@ TabBar::TabBar(QWidget *parent) :
QTabBar(parent),
m_settingsIndex(-1)
{
QTabBar::setDrawBase(false);
setTabsClosable(true);
setElideMode(Qt::ElideRight);
setDocumentMode(true);