r19379 by craig - #12072: Hacky fix to this strangely too thin button with Macintosh theme, with no consideration of other themes. Likely need to test for OSX or Macintosh theme

scribus-commit scribus-commit at lists.scribus.net
Mon Jul 28 21:54:48 UTC 2014


Author: craig
Date: Mon Jul 28 21:54:47 2014
New Revision: 19379

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19379
Log:
#12072: Hacky fix to this strangely too thin button with Macintosh theme, with no consideration of other themes. Likely need to test for OSX or Macintosh theme

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

Modified: trunk/Scribus/scribus/ui/pagepalette_masterpagesbase.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19379&path=/trunk/Scribus/scribus/ui/pagepalette_masterpagesbase.ui
==============================================================================
--- trunk/Scribus/scribus/ui/pagepalette_masterpagesbase.ui (original)
+++ trunk/Scribus/scribus/ui/pagepalette_masterpagesbase.ui Mon Jul 28 21:54:47 2014
@@ -6,18 +6,33 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>400</width>
-    <height>316</height>
+    <width>301</width>
+    <height>320</height>
    </rect>
+  </property>
+  <property name="sizePolicy">
+   <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
+    <horstretch>0</horstretch>
+    <verstretch>0</verstretch>
+   </sizepolicy>
   </property>
   <property name="windowTitle">
    <string>Form</string>
   </property>
   <layout class="QVBoxLayout" name="verticalLayout">
-   <property name="spacing">
+   <property name="sizeConstraint">
+    <enum>QLayout::SetDefaultConstraint</enum>
+   </property>
+   <property name="leftMargin">
     <number>5</number>
    </property>
-   <property name="margin">
+   <property name="topMargin">
+    <number>5</number>
+   </property>
+   <property name="rightMargin">
+    <number>5</number>
+   </property>
+   <property name="bottomMargin">
     <number>5</number>
    </property>
    <item>
@@ -66,12 +81,37 @@
     </layout>
    </item>
    <item>
-    <widget class="QListWidget" name="masterPageListBox"/>
+    <widget class="QListWidget" name="masterPageListBox">
+     <property name="sizePolicy">
+      <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
+       <horstretch>0</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
+     <property name="minimumSize">
+      <size>
+       <width>0</width>
+       <height>16</height>
+      </size>
+     </property>
+    </widget>
    </item>
    <item>
     <widget class="QPushButton" name="finishButton">
+     <property name="sizePolicy">
+      <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+       <horstretch>0</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
+     <property name="minimumSize">
+      <size>
+       <width>0</width>
+       <height>32</height>
+      </size>
+     </property>
      <property name="text">
-      <string><<< Return to Pages Edition</string>
+      <string><<< Return to Normal Page Mode</string>
      </property>
     </widget>
    </item>




More information about the scribus-commit mailing list