r19639 by jghali - #12830: Fix wrongly aligned radio buttons

scribus-commit scribus-commit at lists.scribus.net
Tue Nov 25 20:48:54 UTC 2014


Author: jghali
Date: Tue Nov 25 20:48:54 2014
New Revision: 19639

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19639
Log:
#12830: Fix wrongly aligned radio buttons

Modified:
    trunk/Scribus/scribus/ui/smpstylewidget.ui

Modified: trunk/Scribus/scribus/ui/smpstylewidget.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19639&path=/trunk/Scribus/scribus/ui/smpstylewidget.ui
==============================================================================
--- trunk/Scribus/scribus/ui/smpstylewidget.ui (original)
+++ trunk/Scribus/scribus/ui/smpstylewidget.ui Tue Nov 25 20:48:54 2014
@@ -327,24 +327,7 @@
             <string>Optical Margins</string>
            </property>
            <layout class="QGridLayout" name="gridLayout_3">
-            <item row="1" column="1" rowspan="3">
-             <widget class="SMRadioButton" name="optMarginRadioRight">
-              <property name="text">
-               <string>Right Only</string>
-              </property>
-             </widget>
-            </item>
-            <item row="0" column="0" rowspan="2">
-             <widget class="SMRadioButton" name="optMarginRadioNone">
-              <property name="text">
-               <string>None</string>
-              </property>
-              <property name="checked">
-               <bool>true</bool>
-              </property>
-             </widget>
-            </item>
-            <item row="4" column="0" colspan="2">
+            <item row="6" column="0" colspan="2">
              <layout class="QHBoxLayout" name="horizontalLayout_4">
               <item>
                <widget class="QPushButton" name="optMarginDefaultButton">
@@ -362,19 +345,58 @@
               </item>
              </layout>
             </item>
-            <item row="2" column="0">
-             <widget class="SMRadioButton" name="optMarginRadioLeft">
-              <property name="text">
-               <string>Left Only</string>
-              </property>
-             </widget>
-            </item>
-            <item row="0" column="1">
-             <widget class="SMRadioButton" name="optMarginRadioBoth">
-              <property name="text">
-               <string>Both Sides</string>
-              </property>
-             </widget>
+            <item row="1" column="0" colspan="2">
+             <layout class="QGridLayout" name="gridLayout_5">
+              <item row="0" column="1">
+               <widget class="SMRadioButton" name="optMarginRadioBoth">
+                <property name="sizePolicy">
+                 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+                  <horstretch>0</horstretch>
+                  <verstretch>0</verstretch>
+                 </sizepolicy>
+                </property>
+                <property name="text">
+                 <string>Both Sides</string>
+                </property>
+               </widget>
+              </item>
+              <item row="0" column="0">
+               <widget class="SMRadioButton" name="optMarginRadioNone">
+                <property name="sizePolicy">
+                 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+                  <horstretch>0</horstretch>
+                  <verstretch>0</verstretch>
+                 </sizepolicy>
+                </property>
+                <property name="text">
+                 <string>None</string>
+                </property>
+                <property name="checked">
+                 <bool>true</bool>
+                </property>
+               </widget>
+              </item>
+              <item row="1" column="0">
+               <widget class="SMRadioButton" name="optMarginRadioLeft">
+                <property name="text">
+                 <string>Left Only</string>
+                </property>
+               </widget>
+              </item>
+              <item row="1" column="1">
+               <widget class="SMRadioButton" name="optMarginRadioRight">
+                <property name="sizePolicy">
+                 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+                  <horstretch>0</horstretch>
+                  <verstretch>0</verstretch>
+                 </sizepolicy>
+                </property>
+                <property name="text">
+                 <string>Right Only</string>
+                </property>
+               </widget>
+              </item>
+             </layout>
             </item>
            </layout>
           </widget>
@@ -1030,7 +1052,16 @@
        <property name="spacing">
         <number>5</number>
        </property>
-       <property name="margin">
+       <property name="leftMargin">
+        <number>0</number>
+       </property>
+       <property name="topMargin">
+        <number>0</number>
+       </property>
+       <property name="rightMargin">
+        <number>0</number>
+       </property>
+       <property name="bottomMargin">
         <number>0</number>
        </property>
        <item>




More information about the scribus-commit mailing list