]> git.sesse.net Git - vlc/commitdiff
Qt: layout subtitles prefs
authorFrancois Cartegnie <fcvlcdev@free.fr>
Sun, 25 Jul 2010 17:00:15 +0000 (19:00 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Sun, 25 Jul 2010 17:29:14 +0000 (19:29 +0200)
modules/gui/qt4/ui/sprefs_subtitles.ui

index f578c23f8887dae301360e392996c7363899f60c..d37b04e8a06799b8baae2ca84af3821e24719447 100644 (file)
      <property name="title">
       <string>Display Settings</string>
      </property>
-     <layout class="QGridLayout">
-      <item row="3" column="1" colspan="2">
-       <widget class="QComboBox" name="effect"/>
+     <layout class="QGridLayout" rowstretch="0,0,0,0,0" columnstretch="0,0">
+      <item row="3" column="1">
+       <widget class="QComboBox" name="effect">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+       </widget>
       </item>
       <item row="3" column="0">
        <widget class="QLabel" name="fontEffectLabel">
         </property>
        </widget>
       </item>
-      <item row="2" column="1" colspan="2">
-       <widget class="QComboBox" name="fontColor"/>
+      <item row="2" column="1">
+       <widget class="QComboBox" name="fontColor">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+       </widget>
       </item>
       <item row="2" column="0">
        <widget class="QLabel" name="fontColorLabel">
         </property>
        </widget>
       </item>
-      <item row="1" column="1" colspan="2">
-       <widget class="QComboBox" name="fontSize"/>
+      <item row="1" column="1">
+       <widget class="QComboBox" name="fontSize">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+       </widget>
       </item>
       <item row="1" column="0">
        <widget class="QLabel" name="fontSizeLabel">
         </property>
        </widget>
       </item>
-      <item row="0" column="1">
-       <widget class="QFontComboBox" name="font"/>
-      </item>
       <item row="0" column="0">
        <widget class="QLabel" name="fontLabel">
         <property name="minimumSize">
         </property>
        </widget>
       </item>
-      <item row="4" column="1" colspan="2">
-       <widget class="QSpinBox" name="subsPosition">
-        <property name="alignment">
-         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
-        </property>
-        <property name="suffix">
-         <string> px</string>
-        </property>
-        <property name="minimum">
-         <number>-1024</number>
-        </property>
-        <property name="maximum">
-         <number>1024</number>
-        </property>
-       </widget>
-      </item>
       <item row="4" column="0">
        <widget class="QLabel" name="subsPosLabel">
         <property name="minimumSize">
         </property>
        </widget>
       </item>
+      <item row="0" column="1">
+       <widget class="QFontComboBox" name="font"/>
+      </item>
+      <item row="4" column="1">
+       <widget class="QSpinBox" name="subsPosition">
+        <property name="maximumSize">
+         <size>
+          <width>16777215</width>
+          <height>16777215</height>
+         </size>
+        </property>
+        <property name="alignment">
+         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+        </property>
+        <property name="suffix">
+         <string> px</string>
+        </property>
+        <property name="minimum">
+         <number>-1024</number>
+        </property>
+        <property name="maximum">
+         <number>1024</number>
+        </property>
+       </widget>
+      </item>
      </layout>
     </widget>
    </item>