Rounder volume-handle for higher resolutions

This commit is contained in:
alessandro90
2018-10-14 11:28:48 +02:00
parent c5f4bcf095
commit b8af5c3952
2 changed files with 4 additions and 4 deletions

View File

@@ -180,9 +180,9 @@ class MyApp(QMainWindow, Ui_MainWindow):
QSlider::handle:horizontal { QSlider::handle:horizontal {
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 gray, stop:0.5 white, stop:1.0 gray); background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 gray, stop:0.5 white, stop:1.0 gray);
border: 1px solid #5c5c5c; border: 1px solid #5c5c5c;
width: 25px; width: 28px;
margin: -10px -10px; margin: -8px -8px;
border-radius: 12px; border-radius: 14px;
} }
""") """)

View File

@@ -2769,7 +2769,7 @@ QLabel, QPushButton, QSlider {
<item> <item>
<widget class="QWidget" name="audio_widget" native="true"> <widget class="QWidget" name="audio_widget" native="true">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>