Fix qdarkstyle and midnight blue sliders being cropped

- Allow Threshold sliders in control configuration to be up to 40px tall, instead of 15
This commit is contained in:
flodavid 2024-02-23 16:37:41 +01:00
parent 7c9545c82a
commit 3cdd76b23d
3 changed files with 44 additions and 36 deletions

View File

@ -944,6 +944,10 @@ QListView::indicator:indeterminate:pressed {
image: url(:/qss_icons/rc/checkbox_indeterminate_focus.png); image: url(:/qss_icons/rc/checkbox_indeterminate_focus.png);
} }
QSlider:horizontal {
height: 20px;
}
QSlider::groove:horizontal { QSlider::groove:horizontal {
border: 1px solid #565a5e; border: 1px solid #565a5e;
height: 4px; height: 4px;

View File

@ -1296,6 +1296,10 @@ QSlider:focus {
border: none; border: none;
} }
QSlider:horizontal {
height: 20px;
}
QSlider::groove:horizontal { QSlider::groove:horizontal {
background: #32414B; background: #32414B;
border: 1px solid #32414B; border: 1px solid #32414B;

View File

@ -1485,7 +1485,7 @@
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>70</width> <width>70</width>
<height>15</height> <height>40</height>
</size> </size>
</property> </property>
<property name="maximum"> <property name="maximum">
@ -1932,7 +1932,7 @@
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>70</width> <width>70</width>
<height>15</height> <height>40</height>
</size> </size>
</property> </property>
<property name="maximum"> <property name="maximum">