r24399 by jghali - #16423: Update layout for Gradient Editor <bubu>

scribus-commit scribus-commit at lists.scribus.net
Wed Jan 13 01:31:43 UTC 2021


Author: jghali
Date: Wed Jan 13 01:31:43 2021
New Revision: 24399

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24399
Log:
#16423: Update layout for Gradient Editor <bubu>

Modified:
    trunk/Scribus/scribus/ui/gradientaddedit.ui
    trunk/Scribus/scribus/ui/gradienteditor.ui

Modified: trunk/Scribus/scribus/ui/gradientaddedit.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24399&path=/trunk/Scribus/scribus/ui/gradientaddedit.ui
==============================================================================
--- trunk/Scribus/scribus/ui/gradientaddedit.ui	(original)
+++ trunk/Scribus/scribus/ui/gradientaddedit.ui	Wed Jan 13 01:31:43 2021
@@ -20,12 +20,24 @@
    <string>Edit Gradient</string>
   </property>
   <property name="modal">
-   <bool>true</bool>
-  </property>
-  <layout class="QVBoxLayout" name="verticalLayout">
-   <item>
-    <layout class="QHBoxLayout" name="horizontalLayout">
-     <property name="sizeConstraint">
+   <bool>true</bool>
+  </property>
+  <layout class="QVBoxLayout" name="verticalLayout">
+   <property name="leftMargin">
+    <number>9</number>
+   </property>
+   <property name="topMargin">
+    <number>9</number>
+   </property>
+   <property name="rightMargin">
+    <number>9</number>
+   </property>
+   <property name="bottomMargin">
+    <number>9</number>
+   </property>
+   <item>
+    <layout class="QHBoxLayout" name="horizontalLayout">
+     <property name="sizeConstraint">
       <enum>QLayout::SetMinimumSize</enum>
      </property>
      <item>
@@ -45,18 +57,12 @@
      <property name="sizePolicy">
       <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
        <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="minimumSize">
-      <size>
-       <width>210</width>
-       <height>180</height>
-      </size>
-     </property>
-     <property name="frameShape">
-      <enum>QFrame::NoFrame</enum>
-     </property>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
+     <property name="frameShape">
+      <enum>QFrame::NoFrame</enum>
+     </property>
      <property name="frameShadow">
       <enum>QFrame::Plain</enum>
      </property>

Modified: trunk/Scribus/scribus/ui/gradienteditor.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24399&path=/trunk/Scribus/scribus/ui/gradienteditor.ui
==============================================================================
--- trunk/Scribus/scribus/ui/gradienteditor.ui	(original)
+++ trunk/Scribus/scribus/ui/gradienteditor.ui	Wed Jan 13 01:31:43 2021
@@ -21,19 +21,19 @@
   </property>
   <layout class="QGridLayout" name="gridLayout">
    <property name="leftMargin">
-    <number>4</number>
+    <number>0</number>
    </property>
    <property name="topMargin">
-    <number>4</number>
+    <number>0</number>
    </property>
    <property name="rightMargin">
-    <number>4</number>
+    <number>0</number>
    </property>
    <property name="bottomMargin">
-    <number>4</number>
+    <number>0</number>
    </property>
    <property name="spacing">
-    <number>2</number>
+    <number>3</number>
    </property>
    <item row="0" column="0" colspan="2">
     <widget class="GradientPreview" name="Preview">




More information about the scribus-commit mailing list