1
0
Fork 0
mirror of synced 2024-06-17 01:54:46 +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):
super(DxvkWidget, self).__init__()
self.core = core
self.setObjectName("settings_widget")
self.dxvk_settings = {
"fps": [False, "Fps"],
"gpuload": [False, self.tr("GPU usage")],

View file

@ -30,18 +30,27 @@ QTabBar::tab:hover#main_tab_bar {
}
QGroupBox{
QGroupBox {
padding: 4px;
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;
padding: 0;
margin: 0;
}
QGroupBox#group{
QGroupBox#group {
font-size: 15px;
font-weight: bold;
border: 1px solid white;
@ -101,12 +110,12 @@ QCheckBox {
color: #F0F0F0;
background-color: none;
}
QCheckBox::indicator{
QCheckBox::indicator {
}
#list_widget {
border-top: 2px solid white;
}