r24462 by jghali - #16465: Unify margins and spacing for dialogs, set 5 <bubu>

scribus-commit scribus-commit at lists.scribus.net
Mon Feb 8 22:41:45 UTC 2021


Author: jghali
Date: Mon Feb  8 22:41:45 2021
New Revision: 24462

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24462
Log:
#16465: Unify margins and spacing for dialogs, set 5 <bubu>

Modified:
    trunk/Scribus/scribus/ui/arcvectorbase.ui
    trunk/Scribus/scribus/ui/latexeditor.ui
    trunk/Scribus/scribus/ui/loremipsum.cpp
    trunk/Scribus/scribus/ui/printdialogbase.ui
    trunk/Scribus/scribus/ui/recoverdialog.ui
    trunk/Scribus/scribus/ui/spiralvectorbase.ui
    trunk/Scribus/scribus/ui/tabpdfoptions.ui
    trunk/Scribus/scribus/ui/useprintermarginsdialog.ui

Modified: trunk/Scribus/scribus/ui/arcvectorbase.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24462&path=/trunk/Scribus/scribus/ui/arcvectorbase.ui
==============================================================================
--- trunk/Scribus/scribus/ui/arcvectorbase.ui	(original)
+++ trunk/Scribus/scribus/ui/arcvectorbase.ui	Mon Feb  8 22:41:45 2021
@@ -20,12 +20,24 @@
    </size>
   </property>
   <property name="windowTitle">
-   <string>Edit Arc</string>
-  </property>
-  <layout class="QVBoxLayout" name="verticalLayout">
-   <item>
-    <layout class="QGridLayout" name="gridLayout">
-     <item row="0" column="0">
+   <string>Edit Arc</string>
+  </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="QGridLayout" name="gridLayout">
+     <item row="0" column="0">
       <widget class="QLabel" name="label">
        <property name="text">
         <string>Start Angle:</string>

Modified: trunk/Scribus/scribus/ui/latexeditor.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24462&path=/trunk/Scribus/scribus/ui/latexeditor.ui
==============================================================================
--- trunk/Scribus/scribus/ui/latexeditor.ui	(original)
+++ trunk/Scribus/scribus/ui/latexeditor.ui	Mon Feb  8 22:41:45 2021
@@ -11,12 +11,24 @@
    </rect>
   </property>
   <property name="windowTitle">
-   <string>Editor</string>
-  </property>
-  <layout class="QVBoxLayout">
-   <item>
-    <widget class="QSplitter" name="splitter">
-     <property name="sizePolicy">
+   <string>Editor</string>
+  </property>
+  <layout class="QVBoxLayout">
+   <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>
+    <widget class="QSplitter" name="splitter">
+     <property name="sizePolicy">
       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>

Modified: trunk/Scribus/scribus/ui/loremipsum.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24462&path=/trunk/Scribus/scribus/ui/loremipsum.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/loremipsum.cpp	(original)
+++ trunk/Scribus/scribus/ui/loremipsum.cpp	Mon Feb  8 22:41:45 2021
@@ -138,12 +138,12 @@
 	setWindowTitle( tr( "Lorem Ipsum" ) );
 	setWindowIcon(IconManager::instance().loadIcon("AppIcon.png"));
 	LoremManagerLayout = new QGridLayout(this) ;
-	LoremManagerLayout->setMargin(10);
-	LoremManagerLayout->setSpacing(5);
+	LoremManagerLayout->setContentsMargins(9, 9, 9, 9);
+	LoremManagerLayout->setSpacing(6);
 
 	layout3 = new QVBoxLayout;
-	layout3->setMargin(0);
-	layout3->setSpacing(5);
+	layout3->setContentsMargins(0, 0, 0, 0);
+	layout3->setSpacing(6);
 
 	loremList = new QTreeWidget( this );
 	loremList->setRootIsDecorated(true);
@@ -155,8 +155,8 @@
 	layout3->addWidget( loremList );
 
 	layout2 = new QHBoxLayout;
-	layout2->setMargin(0);
-	layout2->setSpacing(5);
+	layout2->setContentsMargins(0, 0, 0, 0);
+	layout2->setSpacing(6);
 
 	paraLabel = new QLabel( this );
 	layout2->addWidget( paraLabel );
@@ -180,8 +180,8 @@
 //	layout3->addLayout( layout4 );
 
 	layout1 = new QHBoxLayout;
-	layout1->setMargin(0);
-	layout1->setSpacing(5);
+	layout1->setContentsMargins(0, 0, 0, 0);
+	layout1->setSpacing(6);
 	buttonSpacer = new QSpacerItem( 2, 2, QSizePolicy::Expanding, QSizePolicy::Minimum );
 	layout1->addItem( buttonSpacer );
 

Modified: trunk/Scribus/scribus/ui/printdialogbase.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24462&path=/trunk/Scribus/scribus/ui/printdialogbase.ui
==============================================================================
--- trunk/Scribus/scribus/ui/printdialogbase.ui	(original)
+++ trunk/Scribus/scribus/ui/printdialogbase.ui	Mon Feb  8 22:41:45 2021
@@ -14,38 +14,32 @@
    <string>Setup Printer</string>
   </property>
   <property name="sizeGripEnabled">
-   <bool>false</bool>
-  </property>
-  <layout class="QVBoxLayout">
-   <item>
-    <widget class="QGroupBox" name="PrintDialogGroup">
-     <property name="title">
-      <string>Print Destination</string>
-     </property>
-     <layout class="QVBoxLayout">
-      <property name="spacing">
-       <number>5</number>
-      </property>
-      <property name="leftMargin">
-       <number>10</number>
-      </property>
-      <property name="topMargin">
-       <number>10</number>
-      </property>
-      <property name="rightMargin">
-       <number>10</number>
-      </property>
-      <property name="bottomMargin">
-       <number>10</number>
-      </property>
-      <item>
-       <layout class="QHBoxLayout">
-        <property name="spacing">
-         <number>5</number>
-        </property>
-        <item>
-         <widget class="QComboBox" name="PrintDest">
-          <property name="minimumSize">
+   <bool>false</bool>
+  </property>
+  <layout class="QVBoxLayout">
+   <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>
+    <widget class="QGroupBox" name="PrintDialogGroup">
+     <property name="title">
+      <string>Print Destination</string>
+     </property>
+     <layout class="QVBoxLayout">
+      <item>
+       <layout class="QHBoxLayout">
+        <item>
+         <widget class="QComboBox" name="PrintDest">
+          <property name="minimumSize">
            <size>
             <width>250</width>
             <height>0</height>
@@ -74,15 +68,12 @@
          </spacer>
         </item>
        </layout>
-      </item>
-      <item>
-       <layout class="QHBoxLayout">
-        <property name="spacing">
-         <number>5</number>
-        </property>
-        <item>
-         <widget class="QLabel" name="DateiT">
-          <property name="enabled">
+      </item>
+      <item>
+       <layout class="QHBoxLayout">
+        <item>
+         <widget class="QLabel" name="DateiT">
+          <property name="enabled">
            <bool>false</bool>
           </property>
           <property name="sizePolicy">
@@ -166,27 +157,12 @@
    <item>
     <widget class="QGroupBox" name="rangeGroup">
      <property name="title">
-      <string>Range</string>
-     </property>
-     <layout class="QGridLayout">
-      <property name="leftMargin">
-       <number>10</number>
-      </property>
-      <property name="topMargin">
-       <number>10</number>
-      </property>
-      <property name="rightMargin">
-       <number>10</number>
-      </property>
-      <property name="bottomMargin">
-       <number>10</number>
-      </property>
-      <property name="spacing">
-       <number>5</number>
-      </property>
-      <item row="0" column="0">
-       <widget class="QRadioButton" name="printAllRadio">
-        <property name="text">
+      <string>Range</string>
+     </property>
+     <layout class="QGridLayout">
+      <item row="0" column="0">
+       <widget class="QRadioButton" name="printAllRadio">
+        <property name="text">
          <string>Print &All</string>
         </property>
        </widget>

Modified: trunk/Scribus/scribus/ui/recoverdialog.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24462&path=/trunk/Scribus/scribus/ui/recoverdialog.ui
==============================================================================
Binary files - no diff available.

Modified: trunk/Scribus/scribus/ui/spiralvectorbase.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24462&path=/trunk/Scribus/scribus/ui/spiralvectorbase.ui
==============================================================================
--- trunk/Scribus/scribus/ui/spiralvectorbase.ui	(original)
+++ trunk/Scribus/scribus/ui/spiralvectorbase.ui	Mon Feb  8 22:41:45 2021
@@ -20,12 +20,24 @@
    </size>
   </property>
   <property name="windowTitle">
-   <string>Edit Spiral</string>
-  </property>
-  <layout class="QVBoxLayout" name="verticalLayout">
-   <item>
-    <layout class="QGridLayout" name="gridLayout">
-     <item row="0" column="0">
+   <string>Edit Spiral</string>
+  </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="QGridLayout" name="gridLayout">
+     <item row="0" column="0">
       <widget class="QLabel" name="label">
        <property name="text">
         <string>Start Angle:</string>

Modified: trunk/Scribus/scribus/ui/tabpdfoptions.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24462&path=/trunk/Scribus/scribus/ui/tabpdfoptions.ui
==============================================================================
--- trunk/Scribus/scribus/ui/tabpdfoptions.ui	(original)
+++ trunk/Scribus/scribus/ui/tabpdfoptions.ui	Mon Feb  8 22:41:45 2021
@@ -18,47 +18,26 @@
     <string>&General</string>
    </attribute>
    <layout class="QVBoxLayout" name="verticalLayout">
-    <property name="spacing">
-     <number>5</number>
-    </property>
     <property name="leftMargin">
-     <number>10</number>
+     <number>9</number>
     </property>
     <property name="topMargin">
-     <number>10</number>
+     <number>9</number>
     </property>
     <property name="rightMargin">
-     <number>10</number>
+     <number>9</number>
     </property>
     <property name="bottomMargin">
-     <number>10</number>
+     <number>9</number>
     </property>
     <item>
      <layout class="QHBoxLayout" name="horizontalLayout">
-      <property name="spacing">
-       <number>5</number>
-      </property>
       <item>
        <widget class="QGroupBox" name="RangeGroup">
         <property name="title">
          <string>Export Range</string>
         </property>
         <layout class="QVBoxLayout" name="rangeGroupLayout">
-         <property name="spacing">
-          <number>5</number>
-         </property>
-         <property name="leftMargin">
-          <number>10</number>
-         </property>
-         <property name="topMargin">
-          <number>10</number>
-         </property>
-         <property name="rightMargin">
-          <number>10</number>
-         </property>
-         <property name="bottomMargin">
-          <number>10</number>
-         </property>
          <item>
           <widget class="QRadioButton" name="AllPages">
            <property name="text">
@@ -68,14 +47,8 @@
          </item>
          <item>
           <layout class="QGridLayout" name="gridLayout">
-           <property name="spacing">
-            <number>5</number>
-           </property>
            <item row="1" column="0">
             <layout class="QHBoxLayout" name="horizontalLayout_2">
-             <property name="spacing">
-              <number>5</number>
-             </property>
              <item>
               <widget class="QLineEdit" name="PageNr"/>
              </item>
@@ -95,9 +68,6 @@
          </item>
          <item>
           <layout class="QHBoxLayout" name="horizontalLayout_3">
-           <property name="spacing">
-            <number>5</number>
-           </property>
            <item>
             <widget class="QLabel" name="rotationLabel">
              <property name="text">
@@ -139,9 +109,6 @@
          </item>
          <item>
           <layout class="QHBoxLayout" name="horizontalLayout_4">
-           <property name="spacing">
-            <number>5</number>
-           </property>
            <item>
             <widget class="QToolButton" name="MirrorH">
              <property name="text">
@@ -183,21 +150,6 @@
          <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
         </property>
         <layout class="QGridLayout" name="fileOptionsLayout">
-         <property name="leftMargin">
-          <number>10</number>
-         </property>
-         <property name="topMargin">
-          <number>10</number>
-         </property>
-         <property name="rightMargin">
-          <number>10</number>
-         </property>
-         <property name="bottomMargin">
-          <number>10</number>
-         </property>
-         <property name="spacing">
-          <number>5</number>
-         </property>
          <item row="0" column="0">
           <widget class="QLabel" name="label">
            <property name="text">
@@ -327,21 +279,6 @@
        <string>Image Quality Settings</string>
       </property>
       <layout class="QGridLayout" name="imageQualityLayout">
-       <property name="leftMargin">
-        <number>10</number>
-       </property>
-       <property name="topMargin">
-        <number>10</number>
-       </property>
-       <property name="rightMargin">
-        <number>10</number>
-       </property>
-       <property name="bottomMargin">
-        <number>10</number>
-       </property>
-       <property name="spacing">
-        <number>5</number>
-       </property>
        <item row="0" column="0">
         <widget class="QLabel" name="label_4">
          <property name="text">
@@ -467,39 +404,12 @@
     <string>&Fonts</string>
    </attribute>
    <layout class="QVBoxLayout" name="verticalLayout_2">
-    <property name="spacing">
-     <number>5</number>
-    </property>
-    <property name="leftMargin">
-     <number>10</number>
-    </property>
-    <property name="topMargin">
-     <number>10</number>
-    </property>
-    <property name="rightMargin">
-     <number>10</number>
-    </property>
-    <property name="bottomMargin">
-     <number>10</number>
-    </property>
     <item>
      <widget class="QGroupBox" name="groupFont">
       <property name="title">
        <string>Embedding</string>
       </property>
       <layout class="QVBoxLayout" name="groupFontLayout">
-       <property name="leftMargin">
-        <number>10</number>
-       </property>
-       <property name="topMargin">
-        <number>10</number>
-       </property>
-       <property name="rightMargin">
-        <number>10</number>
-       </property>
-       <property name="bottomMargin">
-        <number>10</number>
-       </property>
        <item>
         <layout class="QHBoxLayout" name="horizontalLayout_5">
          <item>
@@ -524,9 +434,6 @@
         <layout class="QHBoxLayout" name="horizontalLayout_9">
          <item>
           <layout class="QVBoxLayout" name="verticalLayout_6">
-           <property name="spacing">
-            <number>5</number>
-           </property>
            <item>
             <widget class="QLabel" name="label_8">
              <property name="text">
@@ -548,9 +455,6 @@
          </item>
          <item>
           <layout class="QVBoxLayout" name="verticalLayout_8">
-           <property name="spacing">
-            <number>5</number>
-           </property>
            <item>
             <spacer name="verticalSpacer">
              <property name="orientation">
@@ -595,9 +499,6 @@
          </item>
          <item>
           <layout class="QVBoxLayout" name="verticalLayout_5">
-           <property name="spacing">
-            <number>5</number>
-           </property>
            <item>
             <widget class="QLabel" name="label_9">
              <property name="text">
@@ -629,21 +530,6 @@
     <string>E&xtras</string>
    </attribute>
    <layout class="QGridLayout" name="gridLayout_4">
-    <property name="leftMargin">
-     <number>10</number>
-    </property>
-    <property name="topMargin">
-     <number>10</number>
-    </property>
-    <property name="rightMargin">
-     <number>10</number>
-    </property>
-    <property name="bottomMargin">
-     <number>10</number>
-    </property>
-    <property name="spacing">
-     <number>5</number>
-    </property>
     <item row="0" column="0">
      <widget class="QCheckBox" name="CheckBox10">
       <property name="text">
@@ -878,47 +764,14 @@
     <string>Viewer</string>
    </attribute>
    <layout class="QVBoxLayout" name="verticalLayout_7">
-    <property name="spacing">
-     <number>5</number>
-    </property>
-    <property name="leftMargin">
-     <number>10</number>
-    </property>
-    <property name="topMargin">
-     <number>10</number>
-    </property>
-    <property name="rightMargin">
-     <number>10</number>
-    </property>
-    <property name="bottomMargin">
-     <number>10</number>
-    </property>
     <item>
      <widget class="QGroupBox" name="groupDisplay">
       <property name="title">
        <string>Display Settings</string>
       </property>
       <layout class="QVBoxLayout" name="groupDisplayLayout">
-       <property name="spacing">
-        <number>5</number>
-       </property>
-       <property name="leftMargin">
-        <number>10</number>
-       </property>
-       <property name="topMargin">
-        <number>10</number>
-       </property>
-       <property name="rightMargin">
-        <number>10</number>
-       </property>
-       <property name="bottomMargin">
-        <number>10</number>
-       </property>
        <item>
         <layout class="QHBoxLayout" name="horizontalLayout_7">
-         <property name="spacing">
-          <number>5</number>
-         </property>
          <property name="leftMargin">
           <number>0</number>
          </property>
@@ -937,21 +790,6 @@
             <string>Document Layout</string>
            </property>
            <layout class="QVBoxLayout" name="pageLayoutLayout">
-            <property name="spacing">
-             <number>5</number>
-            </property>
-            <property name="leftMargin">
-             <number>10</number>
-            </property>
-            <property name="topMargin">
-             <number>10</number>
-            </property>
-            <property name="rightMargin">
-             <number>10</number>
-            </property>
-            <property name="bottomMargin">
-             <number>10</number>
-            </property>
             <item>
              <widget class="QRadioButton" name="singlePage">
               <property name="text">
@@ -989,21 +827,6 @@
             <string>Visual Appearance</string>
            </property>
            <layout class="QVBoxLayout" name="groupNavigationLayout">
-            <property name="spacing">
-             <number>5</number>
-            </property>
-            <property name="leftMargin">
-             <number>10</number>
-            </property>
-            <property name="topMargin">
-             <number>10</number>
-            </property>
-            <property name="rightMargin">
-             <number>10</number>
-            </property>
-            <property name="bottomMargin">
-             <number>10</number>
-            </property>
             <item>
              <widget class="QRadioButton" name="useViewDefault">
               <property name="text">
@@ -1071,21 +894,6 @@
           <string>Special Actions</string>
          </property>
          <layout class="QHBoxLayout" name="groupJavaLayout">
-          <property name="spacing">
-           <number>5</number>
-          </property>
-          <property name="leftMargin">
-           <number>10</number>
-          </property>
-          <property name="topMargin">
-           <number>10</number>
-          </property>
-          <property name="rightMargin">
-           <number>10</number>
-          </property>
-          <property name="bottomMargin">
-           <number>10</number>
-          </property>
           <item>
            <widget class="QLabel" name="actionLabel">
             <property name="text">
@@ -1119,21 +927,6 @@
     <string>S&ecurity</string>
    </attribute>
    <layout class="QVBoxLayout" name="verticalLayout_9">
-    <property name="spacing">
-     <number>5</number>
-    </property>
-    <property name="leftMargin">
-     <number>10</number>
-    </property>
-    <property name="topMargin">
-     <number>10</number>
-    </property>
-    <property name="rightMargin">
-     <number>10</number>
-    </property>
-    <property name="bottomMargin">
-     <number>10</number>
-    </property>
     <item>
      <widget class="QCheckBox" name="Encry">
       <property name="text">
@@ -1153,21 +946,6 @@
        <string>Passwords</string>
       </property>
       <layout class="QGridLayout" name="groupPassLayout">
-       <property name="leftMargin">
-        <number>10</number>
-       </property>
-       <property name="topMargin">
-        <number>10</number>
-       </property>
-       <property name="rightMargin">
-        <number>10</number>
-       </property>
-       <property name="bottomMargin">
-        <number>10</number>
-       </property>
-       <property name="spacing">
-        <number>5</number>
-       </property>
        <item row="1" column="0">
         <widget class="QLabel" name="TextSec2">
          <property name="text">
@@ -1217,21 +995,6 @@
        <string>Settings</string>
       </property>
       <layout class="QVBoxLayout" name="groupSecSetLayout">
-       <property name="spacing">
-        <number>5</number>
-       </property>
-       <property name="leftMargin">
-        <number>10</number>
-       </property>
-       <property name="topMargin">
-        <number>10</number>
-       </property>
-       <property name="rightMargin">
-        <number>10</number>
-       </property>
-       <property name="bottomMargin">
-        <number>10</number>
-       </property>
        <item>
         <widget class="QCheckBox" name="PrintSec">
          <property name="text">
@@ -1283,42 +1046,12 @@
     <string>C&olor</string>
    </attribute>
    <layout class="QVBoxLayout" name="tabColorLayout">
-    <property name="spacing">
-     <number>5</number>
-    </property>
-    <property name="leftMargin">
-     <number>10</number>
-    </property>
-    <property name="topMargin">
-     <number>10</number>
-    </property>
-    <property name="rightMargin">
-     <number>10</number>
-    </property>
-    <property name="bottomMargin">
-     <number>10</number>
-    </property>
     <item>
      <widget class="QGroupBox" name="ColorGroup">
       <property name="title">
        <string>General</string>
       </property>
       <layout class="QHBoxLayout" name="colorGroupLayout">
-       <property name="spacing">
-        <number>5</number>
-       </property>
-       <property name="leftMargin">
-        <number>10</number>
-       </property>
-       <property name="topMargin">
-        <number>10</number>
-       </property>
-       <property name="rightMargin">
-        <number>10</number>
-       </property>
-       <property name="bottomMargin">
-        <number>10</number>
-       </property>
        <item>
         <widget class="QLabel" name="label_16">
          <property name="text">
@@ -1371,21 +1104,6 @@
        <string>Rendering Settings</string>
       </property>
       <layout class="QGridLayout" name="lpiGroupLayout">
-       <property name="leftMargin">
-        <number>10</number>
-       </property>
-       <property name="topMargin">
-        <number>10</number>
-       </property>
-       <property name="rightMargin">
-        <number>10</number>
-       </property>
-       <property name="bottomMargin">
-        <number>10</number>
-       </property>
-       <property name="spacing">
-        <number>5</number>
-       </property>
        <item row="0" column="0">
         <widget class="QComboBox" name="LPIcolor"/>
        </item>
@@ -1490,21 +1208,6 @@
        <string>Solid Colors:</string>
       </property>
       <layout class="QGridLayout" name="solidColorsGroupLayout">
-       <property name="leftMargin">
-        <number>10</number>
-       </property>
-       <property name="topMargin">
-        <number>10</number>
-       </property>
-       <property name="rightMargin">
-        <number>10</number>
-       </property>
-       <property name="bottomMargin">
-        <number>10</number>
-       </property>
-       <property name="spacing">
-        <number>5</number>
-       </property>
        <item row="1" column="0">
         <widget class="QLabel" name="solidsProfileLabel">
          <property name="text">
@@ -1565,21 +1268,6 @@
        <string>Images:</string>
       </property>
       <layout class="QGridLayout" name="imageProfileGroupLayout">
-       <property name="leftMargin">
-        <number>10</number>
-       </property>
-       <property name="topMargin">
-        <number>10</number>
-       </property>
-       <property name="rightMargin">
-        <number>10</number>
-       </property>
-       <property name="bottomMargin">
-        <number>10</number>
-       </property>
-       <property name="spacing">
-        <number>5</number>
-       </property>
        <item row="0" column="0">
         <widget class="QCheckBox" name="EmbedProfs2">
          <property name="text">
@@ -1661,42 +1349,12 @@
     <string>Pre-Press</string>
    </attribute>
    <layout class="QVBoxLayout" name="tabPDFXLayout">
-    <property name="spacing">
-     <number>5</number>
-    </property>
-    <property name="leftMargin">
-     <number>10</number>
-    </property>
-    <property name="topMargin">
-     <number>10</number>
-    </property>
-    <property name="rightMargin">
-     <number>10</number>
-    </property>
-    <property name="bottomMargin">
-     <number>10</number>
-    </property>
     <item>
      <widget class="QGroupBox" name="MarkGroup">
       <property name="title">
        <string>Printer Marks</string>
       </property>
       <layout class="QGridLayout" name="markGroupLayout">
-       <property name="leftMargin">
-        <number>10</number>
-       </property>
-       <property name="topMargin">
-        <number>10</number>
-       </property>
-       <property name="rightMargin">
-        <number>10</number>
-       </property>
-       <property name="bottomMargin">
-        <number>10</number>
-       </property>
-       <property name="spacing">
-        <number>5</number>
-       </property>
        <item row="3" column="0">
         <widget class="QCheckBox" name="colorMarks">
          <property name="text">
@@ -1769,21 +1427,6 @@
        <string>Bleed Settings</string>
       </property>
       <layout class="QGridLayout" name="bleedGroupLayout">
-       <property name="leftMargin">
-        <number>10</number>
-       </property>
-       <property name="topMargin">
-        <number>10</number>
-       </property>
-       <property name="rightMargin">
-        <number>10</number>
-       </property>
-       <property name="bottomMargin">
-        <number>10</number>
-       </property>
-       <property name="spacing">
-        <number>5</number>
-       </property>
        <item row="1" column="0">
         <widget class="QLabel" name="bleedTopLabel">
          <property name="text">
@@ -1840,21 +1483,6 @@
        <string>PDF/X Output Intent</string>
       </property>
       <layout class="QGridLayout" name="X3GroupLayout">
-       <property name="leftMargin">
-        <number>10</number>
-       </property>
-       <property name="topMargin">
-        <number>10</number>
-       </property>
-       <property name="rightMargin">
-        <number>10</number>
-       </property>
-       <property name="bottomMargin">
-        <number>10</number>
-       </property>
-       <property name="spacing">
-        <number>5</number>
-       </property>
        <item row="0" column="1">
         <widget class="QComboBox" name="PrintProfC">
          <property name="editable">

Modified: trunk/Scribus/scribus/ui/useprintermarginsdialog.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24462&path=/trunk/Scribus/scribus/ui/useprintermarginsdialog.ui
==============================================================================
--- trunk/Scribus/scribus/ui/useprintermarginsdialog.ui	(original)
+++ trunk/Scribus/scribus/ui/useprintermarginsdialog.ui	Mon Feb  8 22:41:45 2021
@@ -1,7 +1,8 @@
-<ui version="4.0" >
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
  <class>UsePrinterMarginsDialog</class>
- <widget class="QDialog" name="UsePrinterMarginsDialog" >
-  <property name="geometry" >
+ <widget class="QDialog" name="UsePrinterMarginsDialog">
+  <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
@@ -9,29 +10,41 @@
     <height>185</height>
    </rect>
   </property>
-  <property name="windowTitle" >
+  <property name="windowTitle">
    <string>Use Printer Margins</string>
   </property>
-  <layout class="QVBoxLayout" >
+  <layout class="QVBoxLayout">
+   <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" >
-     <item>
-      <widget class="QLabel" name="selectPrinterLabel" >
-       <property name="text" >
+    <layout class="QHBoxLayout">
+     <item>
+      <widget class="QLabel" name="selectPrinterLabel">
+       <property name="text">
         <string>Select &Printer:</string>
        </property>
-       <property name="wordWrap" >
+       <property name="wordWrap">
         <bool>false</bool>
        </property>
-       <property name="buddy" >
+       <property name="buddy">
         <cstring>printerComboBox</cstring>
        </property>
       </widget>
      </item>
      <item>
-      <widget class="QComboBox" name="printerComboBox" >
-       <property name="sizePolicy" >
-        <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
+      <widget class="QComboBox" name="printerComboBox">
+       <property name="sizePolicy">
+        <sizepolicy vsizetype="Fixed" hsizetype="Expanding">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
@@ -41,42 +54,42 @@
     </layout>
    </item>
    <item>
-    <widget class="QGroupBox" name="marginsGroupBox" >
-     <property name="title" >
+    <widget class="QGroupBox" name="marginsGroupBox">
+     <property name="title">
       <string>Margins</string>
      </property>
-     <layout class="QVBoxLayout" >
+     <layout class="QVBoxLayout">
       <item>
-       <layout class="QGridLayout" >
-        <item row="0" column="4" >
-         <widget class="QLineEdit" name="bottomLineEdit" >
-          <property name="readOnly" >
-           <bool>true</bool>
-          </property>
-         </widget>
-        </item>
-        <item row="1" column="3" >
-         <widget class="QLabel" name="rightLabel" >
-          <property name="text" >
+       <layout class="QGridLayout">
+        <item row="0" column="4">
+         <widget class="QLineEdit" name="bottomLineEdit">
+          <property name="readOnly">
+           <bool>true</bool>
+          </property>
+         </widget>
+        </item>
+        <item row="1" column="3">
+         <widget class="QLabel" name="rightLabel">
+          <property name="text">
            <string>Right:</string>
           </property>
-          <property name="wordWrap" >
-           <bool>false</bool>
-          </property>
-          <property name="buddy" >
+          <property name="wordWrap">
+           <bool>false</bool>
+          </property>
+          <property name="buddy">
            <cstring>rightLineEdit</cstring>
           </property>
          </widget>
         </item>
-        <item row="1" column="2" >
+        <item row="1" column="2">
          <spacer>
-          <property name="orientation" >
+          <property name="orientation">
            <enum>Qt::Horizontal</enum>
           </property>
-          <property name="sizeType" >
+          <property name="sizeType">
            <enum>QSizePolicy::Expanding</enum>
           </property>
-          <property name="sizeHint" >
+          <property name="sizeHint">
            <size>
             <width>40</width>
             <height>20</height>
@@ -84,75 +97,75 @@
           </property>
          </spacer>
         </item>
-        <item row="1" column="4" >
-         <widget class="QLineEdit" name="rightLineEdit" >
-          <property name="readOnly" >
-           <bool>true</bool>
-          </property>
-         </widget>
-        </item>
-        <item row="1" column="1" >
-         <widget class="QLineEdit" name="leftLineEdit" >
-          <property name="readOnly" >
-           <bool>true</bool>
-          </property>
-         </widget>
-        </item>
-        <item row="0" column="0" >
-         <widget class="QLabel" name="topLabel" >
-          <property name="text" >
+        <item row="1" column="4">
+         <widget class="QLineEdit" name="rightLineEdit">
+          <property name="readOnly">
+           <bool>true</bool>
+          </property>
+         </widget>
+        </item>
+        <item row="1" column="1">
+         <widget class="QLineEdit" name="leftLineEdit">
+          <property name="readOnly">
+           <bool>true</bool>
+          </property>
+         </widget>
+        </item>
+        <item row="0" column="0">
+         <widget class="QLabel" name="topLabel">
+          <property name="text">
            <string>&Top:</string>
           </property>
-          <property name="wordWrap" >
-           <bool>false</bool>
-          </property>
-          <property name="buddy" >
+          <property name="wordWrap">
+           <bool>false</bool>
+          </property>
+          <property name="buddy">
            <cstring>topLineEdit</cstring>
           </property>
          </widget>
         </item>
-        <item row="0" column="3" >
-         <widget class="QLabel" name="bottomLabel" >
-          <property name="text" >
+        <item row="0" column="3">
+         <widget class="QLabel" name="bottomLabel">
+          <property name="text">
            <string>&Bottom:</string>
           </property>
-          <property name="wordWrap" >
-           <bool>false</bool>
-          </property>
-          <property name="buddy" >
+          <property name="wordWrap">
+           <bool>false</bool>
+          </property>
+          <property name="buddy">
            <cstring>bottomLineEdit</cstring>
           </property>
          </widget>
         </item>
-        <item row="1" column="0" >
-         <widget class="QLabel" name="leftLabel" >
-          <property name="text" >
+        <item row="1" column="0">
+         <widget class="QLabel" name="leftLabel">
+          <property name="text">
            <string>&Left:</string>
           </property>
-          <property name="wordWrap" >
-           <bool>false</bool>
-          </property>
-          <property name="buddy" >
+          <property name="wordWrap">
+           <bool>false</bool>
+          </property>
+          <property name="buddy">
            <cstring>leftLineEdit</cstring>
           </property>
          </widget>
         </item>
-        <item row="0" column="1" >
-         <widget class="QLineEdit" name="topLineEdit" >
-          <property name="readOnly" >
-           <bool>true</bool>
-          </property>
-         </widget>
-        </item>
-        <item row="0" column="2" >
+        <item row="0" column="1">
+         <widget class="QLineEdit" name="topLineEdit">
+          <property name="readOnly">
+           <bool>true</bool>
+          </property>
+         </widget>
+        </item>
+        <item row="0" column="2">
          <spacer>
-          <property name="orientation" >
+          <property name="orientation">
            <enum>Qt::Horizontal</enum>
           </property>
-          <property name="sizeType" >
+          <property name="sizeType">
            <enum>QSizePolicy::Expanding</enum>
           </property>
-          <property name="sizeHint" >
+          <property name="sizeHint">
            <size>
             <width>40</width>
             <height>20</height>
@@ -166,16 +179,16 @@
     </widget>
    </item>
    <item>
-    <layout class="QHBoxLayout" >
+    <layout class="QHBoxLayout">
      <item>
       <spacer>
-       <property name="orientation" >
+       <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
-       <property name="sizeType" >
+       <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
-       <property name="sizeHint" >
+       <property name="sizeHint">
         <size>
          <width>212</width>
          <height>20</height>
@@ -184,21 +197,21 @@
       </spacer>
      </item>
      <item>
-      <widget class="QPushButton" name="okButton" >
-       <property name="text" >
+      <widget class="QPushButton" name="okButton">
+       <property name="text">
         <string>&OK</string>
        </property>
-       <property name="shortcut" >
+       <property name="shortcut">
         <string>Alt+O</string>
        </property>
       </widget>
      </item>
      <item>
-      <widget class="QPushButton" name="cancelButton" >
-       <property name="text" >
+      <widget class="QPushButton" name="cancelButton">
+       <property name="text">
         <string>&Cancel</string>
        </property>
-       <property name="shortcut" >
+       <property name="shortcut">
         <string>Alt+C</string>
        </property>
       </widget>
@@ -207,7 +220,6 @@
    </item>
   </layout>
  </widget>
- <layoutdefault spacing="6" margin="11" />
  <resources/>
  <connections/>
 </ui>




More information about the scribus-commit mailing list