1
0
Fork 0
mirror of synced 2024-06-26 10:11:19 +12:00

Better Style for settings-widgets

This commit is contained in:
Dummerle 2021-04-09 13:30:59 +02:00
parent 7d0eb92108
commit 2a367658f9
2 changed files with 15 additions and 5 deletions

View file

@ -13,6 +13,7 @@ class DxvkWidget(QGroupBox):
def __init__(self, core: LegendaryCore): def __init__(self, core: LegendaryCore):
super(DxvkWidget, self).__init__() super(DxvkWidget, self).__init__()
self.core = core self.core = core
self.setObjectName("settings_widget")
self.dxvk_settings = { self.dxvk_settings = {
"fps": [False, "Fps"], "fps": [False, "Fps"],
"gpuload": [False, self.tr("GPU usage")], "gpuload": [False, self.tr("GPU usage")],

View file

@ -30,18 +30,27 @@ QTabBar::tab:hover#main_tab_bar {
} }
QGroupBox{ QGroupBox {
padding: 4px; padding: 4px;
margin: 8px; margin: 8px;
} }
QGroupBox#game_widget_icon{ QGroupBox#settings_widget {
border: 1px solid gray;
font-size: 13px;
border-radius: 3px;
margin-top: 1ex;
padding-top: 4px;
padding-bottom: 4px;
}
QGroupBox#game_widget_icon {
border: none; border: none;
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
QGroupBox#group{ QGroupBox#group {
font-size: 15px; font-size: 15px;
font-weight: bold; font-weight: bold;
border: 1px solid white; border: 1px solid white;
@ -101,12 +110,12 @@ QCheckBox {
color: #F0F0F0; color: #F0F0F0;
background-color: none; background-color: none;
} }
QCheckBox::indicator{
QCheckBox::indicator {
} }
#list_widget { #list_widget {
border-top: 2px solid white; border-top: 2px solid white;
} }