Skip to content

Commit a15dc66

Browse files
committed
optimize UI
1 parent 596f963 commit a15dc66

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

COMTool/assets/qss/style-dark.qss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ QTabBar::tab {
460460
border-bottom: none;
461461
border-top-left-radius: 4px;
462462
border-top-right-radius: 4px;
463-
min-width: 10ex;
463+
min-width: 80px;
464464
min-height: 34px;
465465
padding-left: 2ex;
466466
padding-right: 2ex;

COMTool/assets/qss/style.qss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,11 +449,10 @@ QTabBar::tab {
449449
border-bottom: none;
450450
border-top-left-radius: 4px;
451451
border-top-right-radius: 4px;
452-
min-width: 10ex;
452+
min-width: 80px;
453453
min-height: 34px;
454454
padding-left: 2ex;
455455
padding-right: 2ex;
456-
font-weight: 500;
457456
}
458457

459458
QTabBar::tab:selected, QTabBar::tab:hover {

COMTool/widgets.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -780,6 +780,7 @@ def __init__(self, text, *args, **kwargs):
780780
self.setWidgetResizable(True)
781781
# making qwidget object
782782
content = QWidget(self)
783+
self.setProperty("class", "scrollbar2")
783784
self.setWidget(content)
784785
# vertical box layout
785786
lay = QVBoxLayout(content)

0 commit comments

Comments
 (0)