Przeglądaj źródła

UI: Fix spacing with media controls

The spacing in the media controls was set to 0. This only became
noticeable when using the Yami theme, as the buttons have a background
color.
cg2121 3 lat temu
rodzic
commit
b61cc5de23
1 zmienionych plików z 1 dodań i 65 usunięć
  1. 1 65
      UI/forms/source-toolbar/media-controls.ui

+ 1 - 65
UI/forms/source-toolbar/media-controls.ui

@@ -27,7 +27,7 @@
   </property>
   </property>
   <layout class="QHBoxLayout" name="horizontalLayout">
   <layout class="QHBoxLayout" name="horizontalLayout">
    <property name="spacing">
    <property name="spacing">
-    <number>0</number>
+    <number>6</number>
    </property>
    </property>
    <property name="leftMargin">
    <property name="leftMargin">
     <number>0</number>
     <number>0</number>
@@ -82,22 +82,6 @@
      </property>
      </property>
     </widget>
     </widget>
    </item>
    </item>
-   <item>
-    <spacer name="horizontalSpacer">
-     <property name="orientation">
-      <enum>Qt::Horizontal</enum>
-     </property>
-     <property name="sizeType">
-      <enum>QSizePolicy::Fixed</enum>
-     </property>
-     <property name="sizeHint" stdset="0">
-      <size>
-       <width>8</width>
-       <height>20</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
    <item>
    <item>
     <widget class="QPushButton" name="previousButton">
     <widget class="QPushButton" name="previousButton">
      <property name="sizePolicy">
      <property name="sizePolicy">
@@ -243,22 +227,6 @@
      </property>
      </property>
     </widget>
     </widget>
    </item>
    </item>
-   <item>
-    <spacer name="horizontalSpacer_2">
-     <property name="orientation">
-      <enum>Qt::Horizontal</enum>
-     </property>
-     <property name="sizeType">
-      <enum>QSizePolicy::Fixed</enum>
-     </property>
-     <property name="sizeHint" stdset="0">
-      <size>
-       <width>6</width>
-       <height>20</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
    <item>
    <item>
     <widget class="QLabel" name="timerLabel">
     <widget class="QLabel" name="timerLabel">
      <property name="sizePolicy">
      <property name="sizePolicy">
@@ -278,22 +246,6 @@
      </property>
      </property>
     </widget>
     </widget>
    </item>
    </item>
-   <item>
-    <spacer name="horizontalSpacer_3">
-     <property name="orientation">
-      <enum>Qt::Horizontal</enum>
-     </property>
-     <property name="sizeType">
-      <enum>QSizePolicy::Fixed</enum>
-     </property>
-     <property name="sizeHint" stdset="0">
-      <size>
-       <width>4</width>
-       <height>0</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
    <item>
    <item>
     <widget class="QLabel" name="label">
     <widget class="QLabel" name="label">
      <property name="sizePolicy">
      <property name="sizePolicy">
@@ -313,22 +265,6 @@
      </property>
      </property>
     </widget>
     </widget>
    </item>
    </item>
-   <item>
-    <spacer name="horizontalSpacer_4">
-     <property name="orientation">
-      <enum>Qt::Horizontal</enum>
-     </property>
-     <property name="sizeType">
-      <enum>QSizePolicy::Fixed</enum>
-     </property>
-     <property name="sizeHint" stdset="0">
-      <size>
-       <width>4</width>
-       <height>0</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
    <item>
    <item>
     <widget class="ClickableLabel" name="durationLabel">
     <widget class="ClickableLabel" name="durationLabel">
      <property name="sizePolicy">
      <property name="sizePolicy">