[vlmc-devel] commit: PreviewWidget: Don't use a grid layout. ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Sat Oct 9 16:20:37 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Sat Oct  9 16:20:26 2010 +0200| [2c70c72d0a436ecdcf29b013cd15c19c53b72d62] | committer: Hugo Beauzée-Luyssen 

PreviewWidget: Don't use a grid layout.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=2c70c72d0a436ecdcf29b013cd15c19c53b72d62
---

 src/Gui/preview/ui/PreviewWidget.ui |   48 +++++++++++++++++-----------------
 1 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/src/Gui/preview/ui/PreviewWidget.ui b/src/Gui/preview/ui/PreviewWidget.ui
index 11bc1f2..5cda833 100644
--- a/src/Gui/preview/ui/PreviewWidget.ui
+++ b/src/Gui/preview/ui/PreviewWidget.ui
@@ -25,14 +25,34 @@
   <property name="windowTitle">
    <string>Preview</string>
   </property>
-  <layout class="QGridLayout" name="gridLayout">
-   <property name="margin">
+  <layout class="QVBoxLayout" name="verticalLayout">
+   <property name="spacing">
     <number>0</number>
    </property>
-   <property name="spacing">
+   <property name="margin">
     <number>0</number>
    </property>
-   <item row="2" column="0">
+   <item>
+    <widget class="QWidget" name="renderWidget" native="true">
+     <property name="sizePolicy">
+      <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
+       <horstretch>0</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
+    </widget>
+   </item>
+   <item>
+    <widget class="PreviewRuler" name="rulerWidget" native="true">
+     <property name="minimumSize">
+      <size>
+       <width>0</width>
+       <height>30</height>
+      </size>
+     </property>
+    </widget>
+   </item>
+   <item>
     <layout class="QHBoxLayout" name="horizontalLayout">
      <property name="spacing">
       <number>6</number>
@@ -393,26 +413,6 @@
      </item>
     </layout>
    </item>
-   <item row="0" column="0">
-    <widget class="QWidget" name="renderWidget" native="true">
-     <property name="sizePolicy">
-      <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-    </widget>
-   </item>
-   <item row="1" column="0">
-    <widget class="PreviewRuler" name="rulerWidget" native="true">
-     <property name="minimumSize">
-      <size>
-       <width>0</width>
-       <height>30</height>
-      </size>
-     </property>
-    </widget>
-   </item>
   </layout>
  </widget>
  <customwidgets>



More information about the Vlmc-devel mailing list