Skip to content

Commit

Permalink
Fix QTabBar margin
Browse files Browse the repository at this point in the history
  • Loading branch information
BourgonLaurent committed Nov 22, 2019
1 parent 127b4f6 commit c5a60b9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions pyEtude.ui
Original file line number Diff line number Diff line change
Expand Up @@ -1346,20 +1346,20 @@ QTabBar::tab:!selected:disabled {
background-color: #19232D;
}

QTabBar::tab:!selected {
/* QTabBar::tab:!selected {
border-right: 2px solid #19232D;
margin-left: 2px;
}
} */

QTabBar::tab {
color: #FFFFFF;
background-color: #323130;
margin-top: 2px;
padding-left: 4px;
padding-right: 4px;
padding-top: 12px;
padding-bottom: 12px;
min-height: 5px;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}

QTabBar::tab:selected {
Expand Down
10 changes: 5 additions & 5 deletions pyet_ui.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'pyEtude.ui'
# Form implementation generated from reading ui file '.\pyEtude.ui'
#
# Created by: PyQt5 UI code generator 5.9.2
#
Expand Down Expand Up @@ -1332,20 +1332,20 @@ def setupUi(self, MainWindow):
" background-color: #19232D;\n"
"}\n"
"\n"
"QTabBar::tab:!selected {\n"
"/* QTabBar::tab:!selected {\n"
" border-right: 2px solid #19232D;\n"
" margin-left: 2px;\n"
"}\n"
"} */\n"
"\n"
"QTabBar::tab {\n"
" color: #FFFFFF;\n"
" background-color: #323130;\n"
" margin-top: 2px;\n"
" padding-left: 4px;\n"
" padding-right: 4px;\n"
" padding-top: 12px;\n"
" padding-bottom: 12px;\n"
" min-height: 5px;\n"
" border-top-left-radius: 4px;\n"
" border-bottom-left-radius: 4px;\n"
"}\n"
"\n"
"QTabBar::tab:selected {\n"
Expand Down

0 comments on commit c5a60b9

Please sign in to comment.