[QGIS Commit] r11783 - trunk/qgis/src/ui

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Oct 9 06:49:30 EDT 2009


Author: mhugent
Date: 2009-10-09 06:49:29 -0400 (Fri, 09 Oct 2009)
New Revision: 11783

Modified:
   trunk/qgis/src/ui/qgscomposermapwidgetbase.ui
Log:
Patch from Borys to fix resizing of the min-max combo boxes

Modified: trunk/qgis/src/ui/qgscomposermapwidgetbase.ui
===================================================================
--- trunk/qgis/src/ui/qgscomposermapwidgetbase.ui	2009-10-09 10:31:56 UTC (rev 11782)
+++ trunk/qgis/src/ui/qgscomposermapwidgetbase.ui	2009-10-09 10:49:29 UTC (rev 11783)
@@ -120,82 +120,96 @@
      <property name="title">
       <string>Map extent</string>
      </property>
-     <layout class="QGridLayout">
-      <item row="0" column="0">
-       <widget class="QLabel" name="mXMinLabel">
-        <property name="enabled">
-         <bool>true</bool>
-        </property>
-        <property name="text">
-         <string>X min</string>
-        </property>
-        <property name="buddy">
-         <cstring>mXMinLineEdit</cstring>
-        </property>
-       </widget>
+     <layout class="QVBoxLayout" name="verticalLayout">
+      <item>
+       <layout class="QGridLayout" name="gridLayout_4">
+        <item row="0" column="1">
+         <widget class="QLineEdit" name="mXMinLineEdit"/>
+        </item>
+        <item row="0" column="0">
+         <widget class="QLabel" name="mXMinLabel">
+          <property name="enabled">
+           <bool>true</bool>
+          </property>
+          <property name="text">
+           <string>X min</string>
+          </property>
+          <property name="buddy">
+           <cstring>mXMinLineEdit</cstring>
+          </property>
+         </widget>
+        </item>
+        <item row="1" column="1">
+         <widget class="QLineEdit" name="mYMinLineEdit"/>
+        </item>
+        <item row="1" column="0">
+         <widget class="QLabel" name="mYMinLabel">
+          <property name="text">
+           <string>Y min</string>
+          </property>
+          <property name="buddy">
+           <cstring>mYMinLineEdit</cstring>
+          </property>
+         </widget>
+        </item>
+        <item row="0" column="3">
+         <widget class="QLineEdit" name="mXMaxLineEdit"/>
+        </item>
+        <item row="1" column="3">
+         <widget class="QLineEdit" name="mYMaxLineEdit"/>
+        </item>
+        <item row="0" column="2">
+         <widget class="QLabel" name="mXMaxLabel">
+          <property name="text">
+           <string>X max</string>
+          </property>
+          <property name="buddy">
+           <cstring>mXMaxLineEdit</cstring>
+          </property>
+         </widget>
+        </item>
+        <item row="1" column="2">
+         <widget class="QLabel" name="mYMaxLabel">
+          <property name="text">
+           <string>Y max</string>
+          </property>
+          <property name="buddy">
+           <cstring>mYMaxLineEdit</cstring>
+          </property>
+         </widget>
+        </item>
+       </layout>
       </item>
-      <item row="0" column="1">
-       <widget class="QLineEdit" name="mXMinLineEdit"/>
+      <item>
+       <layout class="QHBoxLayout" name="horizontalLayout_5">
+        <item>
+         <spacer>
+          <property name="orientation">
+           <enum>Qt::Horizontal</enum>
+          </property>
+          <property name="sizeHint" stdset="0">
+           <size>
+            <width>311</width>
+            <height>20</height>
+           </size>
+          </property>
+         </spacer>
+        </item>
+        <item>
+         <widget class="QPushButton" name="mSetToMapCanvasExtentButton">
+          <property name="sizePolicy">
+           <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+            <horstretch>0</horstretch>
+            <verstretch>0</verstretch>
+           </sizepolicy>
+          </property>
+          <property name="text">
+           <string>Set to map canvas extent</string>
+          </property>
+         </widget>
+        </item>
+       </layout>
       </item>
-      <item row="0" column="2">
-       <widget class="QLabel" name="mXMaxLabel">
-        <property name="text">
-         <string>X max</string>
-        </property>
-        <property name="buddy">
-         <cstring>mXMaxLineEdit</cstring>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="3" colspan="2">
-       <widget class="QLineEdit" name="mXMaxLineEdit"/>
-      </item>
-      <item row="1" column="0">
-       <widget class="QLabel" name="mYMinLabel">
-        <property name="text">
-         <string>Y min</string>
-        </property>
-        <property name="buddy">
-         <cstring>mYMinLineEdit</cstring>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="1">
-       <widget class="QLineEdit" name="mYMinLineEdit"/>
-      </item>
-      <item row="1" column="2">
-       <widget class="QLabel" name="mYMaxLabel">
-        <property name="text">
-         <string>Y max</string>
-        </property>
-        <property name="buddy">
-         <cstring>mYMaxLineEdit</cstring>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="3" colspan="2">
-       <widget class="QLineEdit" name="mYMaxLineEdit"/>
-      </item>
-      <item row="2" column="0" colspan="4">
-       <spacer>
-        <property name="orientation">
-         <enum>Qt::Horizontal</enum>
-        </property>
-        <property name="sizeHint" stdset="0">
-         <size>
-          <width>311</width>
-          <height>20</height>
-         </size>
-        </property>
-       </spacer>
-      </item>
-      <item row="2" column="4">
-       <widget class="QPushButton" name="mSetToMapCanvasExtentButton">
-        <property name="text">
-         <string>Set to map canvas extent</string>
-        </property>
-       </widget>
-      </item>
      </layout>
     </widget>
    </item>



More information about the QGIS-commit mailing list