[vlc-commits] Qt: sprefs, small layout improvement, when resizing

Jean-Baptiste Kempf git at videolan.org
Wed Feb 16 21:07:44 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Feb 16 20:57:36 2011 +0100| [d572f0e95e85c803c476969673bb3e810f78d17a] | committer: Jean-Baptiste Kempf

Qt: sprefs, small layout improvement, when resizing

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d572f0e95e85c803c476969673bb3e810f78d17a
---

 modules/gui/qt4/ui/sprefs_interface.ui |   48 ++++++++++++++++++++++++++-----
 1 files changed, 40 insertions(+), 8 deletions(-)

diff --git a/modules/gui/qt4/ui/sprefs_interface.ui b/modules/gui/qt4/ui/sprefs_interface.ui
index d608325..ce83ca0 100644
--- a/modules/gui/qt4/ui/sprefs_interface.ui
+++ b/modules/gui/qt4/ui/sprefs_interface.ui
@@ -7,8 +7,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>699</width>
-    <height>627</height>
+    <width>734</width>
+    <height>623</height>
    </rect>
   </property>
   <property name="sizePolicy">
@@ -414,8 +414,14 @@
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
-            <layout class="QGridLayout" name="gridLayout_4">
-             <item row="0" column="0" colspan="2">
+            <layout class="QGridLayout">
+             <property name="leftMargin">
+              <number>0</number>
+             </property>
+             <property name="topMargin">
+              <number>0</number>
+             </property>
+             <item row="0" column="0" colspan="3">
               <widget class="QCheckBox" name="fsController">
                <property name="text">
                 <string>Show controls in full screen mode</string>
@@ -429,7 +435,7 @@
                </property>
               </widget>
              </item>
-             <item row="1" column="1" colspan="2">
+             <item row="1" column="2" colspan="2">
               <widget class="QCheckBox" name="pauseMinimizedBox">
                <property name="text">
                 <string>Pause playback when minimized</string>
@@ -443,7 +449,7 @@
                </property>
               </widget>
              </item>
-             <item row="2" column="1" colspan="2">
+             <item row="2" column="2" colspan="2">
               <widget class="QCheckBox" name="resizingBox">
                <property name="text">
                 <string>Resize interface to video size</string>
@@ -457,7 +463,7 @@
                </property>
               </widget>
              </item>
-             <item row="3" column="1" rowspan="2" colspan="2">
+             <item row="3" column="2" rowspan="2" colspan="2">
               <widget class="QCheckBox" name="sysPop">
                <property name="text">
                 <string>Systray popup when minimized</string>
@@ -480,9 +486,35 @@
                </property>
               </widget>
              </item>
-             <item row="5" column="1" colspan="2">
+             <item row="5" column="2" colspan="2">
               <widget class="QComboBox" name="stylesCombo"/>
              </item>
+             <item row="1" column="1">
+              <spacer name="horizontalSpacer_3">
+               <property name="orientation">
+                <enum>Qt::Horizontal</enum>
+               </property>
+               <property name="sizeHint" stdset="0">
+                <size>
+                 <width>40</width>
+                 <height>20</height>
+                </size>
+               </property>
+              </spacer>
+             </item>
+             <item row="1" column="4">
+              <spacer name="horizontalSpacer_7">
+               <property name="orientation">
+                <enum>Qt::Horizontal</enum>
+               </property>
+               <property name="sizeHint" stdset="0">
+                <size>
+                 <width>40</width>
+                 <height>20</height>
+                </size>
+               </property>
+              </spacer>
+             </item>
             </layout>
            </widget>
           </item>



More information about the vlc-commits mailing list