Better Style for settings-widgets
This commit is contained in:
parent
7d0eb92108
commit
2a367658f9
|
@ -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")],
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue