mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 22:57:22 +00:00
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:
parent
c00c425b48
commit
b28acaf7c9
3 changed files with 44 additions and 36 deletions
4
dist/qt_themes/qdarkstyle/dark.qss
vendored
4
dist/qt_themes/qdarkstyle/dark.qss
vendored
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -1430,12 +1430,12 @@
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QGroupBox" name="buttonShoulderButtonsButtonZLGroup">
|
<widget class="QGroupBox" name="buttonShoulderButtonsButtonZLGroup">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
<verstretch>0</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>ZL</string>
|
<string>ZL</string>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1481,20 +1481,20 @@
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QSlider" name="sliderZLThreshold">
|
<widget class="QSlider" name="sliderZLThreshold">
|
||||||
<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">
|
||||||
<number>100</number>
|
<number>100</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Horizontal</enum>
|
<enum>Qt::Horizontal</enum>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
|
@ -1927,22 +1927,22 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QSlider" name="sliderZRThreshold">
|
<widget class="QSlider" name="sliderZRThreshold">
|
||||||
<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">
|
||||||
<number>100</number>
|
<number>100</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Horizontal</enum>
|
<enum>Qt::Horizontal</enum>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
Loading…
Reference in a new issue