Skip to content

Commit 2f4a08d

Browse files
authored
Merge pull request #281 from sarawut11/qtabwidget-background-issue
QTabWidget background issue fix
2 parents 33a967b + 5728067 commit 2f4a08d

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.vs/
2+
.vscode/
23
.idea/
34
CMakeFiles/
45
out/

resource/mwcwallet_style.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,16 @@ QTabWidget::tab-bar{
640640
left: 52px;
641641
}
642642

643+
QWidget#tab_main {
644+
background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0,
645+
stop: 0 #9E00E7, stop: 0.9 #3600C9, stop: 1 #3600C9);
646+
}
647+
648+
QWidget#tab_wallet {
649+
background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0,
650+
stop: 0 #9E00E7, stop: 0.9 #3600C9, stop: 1 #3600C9);
651+
}
652+
643653
QTabBar::tab{
644654
color: white;
645655
border-right: 2px solid #FFFFFF;

windows/x_walletconfig.ui

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@
5757
<string notr="true"/>
5858
</property>
5959
<property name="currentIndex">
60-
<number>1</number>
60+
<number>0</number>
6161
</property>
62-
<widget class="QWidget" name="tab">
62+
<widget class="QWidget" name="tab_main">
6363
<property name="minimumSize">
6464
<size>
6565
<width>0</width>
@@ -716,7 +716,7 @@ your wallet activity never stored in the logs.</string>
716716
</item>
717717
</layout>
718718
</widget>
719-
<widget class="QWidget" name="tab_2">
719+
<widget class="QWidget" name="tab_wallet">
720720
<attribute name="title">
721721
<string>Wallet</string>
722722
</attribute>

0 commit comments

Comments
 (0)