View Issue Details

IDProjectCategoryView StatusLast Update
0016429ScribusUser Interfacepublic2021-03-21 15:15
Reporterbubu Assigned Tojghali  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.5.7.svn 
Fixed in Version1.5.7.svn 
Summary0016429: Update layout for PDF Field Properties dialog
DescriptionIn this patch I propose some simple modifications in Item > PDF Options > Field properties dialog:
- Remove unnamed group boxes.
- Add some spacers to push content to the top if it is necessary.
- Set minimum width.

Please see the before-after screenshot. Please review the patch. Thanks.
TagsNo tags attached.
PatchNo

Relationships

child of 0013906 acknowledged Metabug: UI enhancement proposals (1.5.x.svn) 

Activities

bubu

2021-01-12 22:14

reporter  

0001-Update-layout-for-PDF-Field-Properties-dialog.patch (43,147 bytes)   
From eca0aabde1411502b3aa4625615d163061583bdb Mon Sep 17 00:00:00 2001
Message-Id: <eca0aabde1411502b3aa4625615d163061583bdb.1610489515.git.bubu@ujevangelizacio.hu>
From: =?UTF-8?q?Gyuris=20Gell=C3=A9rt?= <bubu@ujevangelizacio.hu>
Date: Tue, 12 Jan 2021 23:11:44 +0100
Subject: [PATCH] Update layout for PDF Field Properties dialog

- Remove unnamed group boxes.
- Add some spacers to push content to the top if it is necessary.
---
 scribus/ui/annot.ui | 884 +++++++++++++++++++++++---------------------
 1 file changed, 461 insertions(+), 423 deletions(-)

diff --git a/scribus/ui/annot.ui b/scribus/ui/annot.ui
index 4c14421ae..468e38ccd 100644
--- a/scribus/ui/annot.ui
+++ b/scribus/ui/annot.ui
@@ -6,14 +6,26 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>638</width>
-    <height>613</height>
+    <width>537</width>
+    <height>562</height>
    </rect>
   </property>
   <property name="windowTitle">
    <string>Field Properties</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="QHBoxLayout" name="horizontalLayout">
      <item>
@@ -61,6 +73,12 @@
    </item>
    <item>
     <widget class="QStackedWidget" name="Fram">
+     <property name="minimumSize">
+      <size>
+       <width>519</width>
+       <height>0</height>
+      </size>
+     </property>
      <property name="currentIndex">
       <number>0</number>
      </property>
@@ -84,16 +102,6 @@
           <string>Properties</string>
          </property>
          <layout class="QGridLayout" name="gridLayout">
-          <item row="0" column="1">
-           <widget class="NameWidget" name="Name"/>
-          </item>
-          <item row="1" column="0">
-           <widget class="QLabel" name="label_3">
-            <property name="text">
-             <string>Tooltip:</string>
-            </property>
-           </widget>
-          </item>
           <item row="0" column="0">
            <widget class="QLabel" name="label_2">
             <property name="text">
@@ -120,13 +128,6 @@
                  <string>Text</string>
                 </property>
                 <layout class="QGridLayout" name="gridLayout_2">
-                 <item row="0" column="0">
-                  <widget class="QLabel" name="label_4">
-                   <property name="text">
-                    <string>Font for use with PDF 1.3:</string>
-                   </property>
-                  </widget>
-                 </item>
                  <item row="0" column="1">
                   <widget class="QComboBox" name="Schrift">
                    <item>
@@ -201,6 +202,13 @@
                    </item>
                   </widget>
                  </item>
+                 <item row="0" column="0">
+                  <widget class="QLabel" name="label_4">
+                   <property name="text">
+                    <string>Font for use with PDF 1.3:</string>
+                   </property>
+                  </widget>
+                 </item>
                 </layout>
                </widget>
               </item>
@@ -355,6 +363,19 @@
                 </item>
                </layout>
               </item>
+              <item>
+               <spacer name="verticalSpacer_14">
+                <property name="orientation">
+                 <enum>Qt::Vertical</enum>
+                </property>
+                <property name="sizeHint" stdset="0">
+                 <size>
+                  <width>20</width>
+                  <height>40</height>
+                 </size>
+                </property>
+               </spacer>
+              </item>
              </layout>
             </widget>
             <widget class="QWidget" name="tabOptions">
@@ -638,96 +659,87 @@
                    <number>0</number>
                   </property>
                   <item>
-                   <widget class="QGroupBox" name="OptTextFeld_2">
-                    <property name="title">
-                     <string/>
+                   <widget class="QCheckBox" name="MultiL">
+                    <property name="text">
+                     <string>Multi-Line</string>
+                    </property>
+                   </widget>
+                  </item>
+                  <item>
+                   <widget class="QCheckBox" name="Passwd">
+                    <property name="text">
+                     <string>Password</string>
+                    </property>
+                   </widget>
+                  </item>
+                  <item>
+                   <layout class="QHBoxLayout" name="horizontalLayout_7">
+                    <item>
+                     <widget class="QCheckBox" name="Limit">
+                      <property name="text">
+                       <string>Limit of</string>
+                      </property>
+                     </widget>
+                    </item>
+                    <item>
+                     <widget class="QSpinBox" name="MaxChars">
+                      <property name="minimum">
+                       <number>0</number>
+                      </property>
+                      <property name="maximum">
+                       <number>32768</number>
+                      </property>
+                     </widget>
+                    </item>
+                    <item>
+                     <widget class="QLabel" name="label_11">
+                      <property name="text">
+                       <string>Characters</string>
+                      </property>
+                     </widget>
+                    </item>
+                    <item>
+                     <spacer name="horizontalSpacer_2">
+                      <property name="orientation">
+                       <enum>Qt::Horizontal</enum>
+                      </property>
+                      <property name="sizeHint" stdset="0">
+                       <size>
+                        <width>40</width>
+                        <height>20</height>
+                       </size>
+                      </property>
+                     </spacer>
+                    </item>
+                   </layout>
+                  </item>
+                  <item>
+                   <widget class="QCheckBox" name="NoScroll">
+                    <property name="text">
+                     <string>Do Not Scroll</string>
+                    </property>
+                   </widget>
+                  </item>
+                  <item>
+                   <widget class="QCheckBox" name="NoSpell">
+                    <property name="text">
+                     <string>Do Not Spell Check</string>
                     </property>
-                    <layout class="QVBoxLayout" name="OptTextFeldLayout">
-                     <item>
-                      <widget class="QCheckBox" name="MultiL">
-                       <property name="text">
-                        <string>Multi-Line</string>
-                       </property>
-                      </widget>
-                     </item>
-                     <item>
-                      <widget class="QCheckBox" name="Passwd">
-                       <property name="text">
-                        <string>Password</string>
-                       </property>
-                      </widget>
-                     </item>
-                     <item>
-                      <layout class="QHBoxLayout" name="horizontalLayout_7">
-                       <item>
-                        <widget class="QCheckBox" name="Limit">
-                         <property name="text">
-                          <string>Limit of</string>
-                         </property>
-                        </widget>
-                       </item>
-                       <item>
-                        <widget class="QSpinBox" name="MaxChars">
-                         <property name="minimum">
-                          <number>0</number>
-                         </property>
-                         <property name="maximum">
-                          <number>32768</number>
-                         </property>
-                        </widget>
-                       </item>
-                       <item>
-                        <widget class="QLabel" name="label_11">
-                         <property name="text">
-                          <string>Characters</string>
-                         </property>
-                        </widget>
-                       </item>
-                       <item>
-                        <spacer name="horizontalSpacer_2">
-                         <property name="orientation">
-                          <enum>Qt::Horizontal</enum>
-                         </property>
-                         <property name="sizeHint" stdset="0">
-                          <size>
-                           <width>40</width>
-                           <height>20</height>
-                          </size>
-                         </property>
-                        </spacer>
-                       </item>
-                      </layout>
-                     </item>
-                     <item>
-                      <widget class="QCheckBox" name="NoScroll">
-                       <property name="text">
-                        <string>Do Not Scroll</string>
-                       </property>
-                      </widget>
-                     </item>
-                     <item>
-                      <widget class="QCheckBox" name="NoSpell">
-                       <property name="text">
-                        <string>Do Not Spell Check</string>
-                       </property>
-                      </widget>
-                     </item>
-                     <item>
-                      <spacer name="verticalSpacer_5">
-                       <property name="orientation">
-                        <enum>Qt::Vertical</enum>
-                       </property>
-                       <property name="sizeHint" stdset="0">
-                        <size>
-                         <width>20</width>
-                         <height>40</height>
-                        </size>
-                       </property>
-                      </spacer>
-                     </item>
-                    </layout>
                    </widget>
                   </item>
+                  <item>
+                   <spacer name="verticalSpacer_5">
+                    <property name="orientation">
+                     <enum>Qt::Vertical</enum>
+                    </property>
+                    <property name="sizeHint" stdset="0">
+                     <size>
+                      <width>20</width>
+                      <height>40</height>
+                     </size>
+                    </property>
+                   </spacer>
+                  </item>
                  </layout>
                 </widget>
                 <widget class="QWidget" name="page_5">
@@ -745,92 +757,83 @@
                    <number>0</number>
                   </property>
                   <item>
-                   <widget class="QGroupBox" name="OptCheck">
-                    <property name="title">
-                     <string/>
-                    </property>
-                    <layout class="QVBoxLayout" name="OptCheckLayout">
-                     <item>
-                      <layout class="QHBoxLayout" name="horizontalLayout_8">
-                       <item>
-                        <widget class="QLabel" name="CText1">
-                         <property name="text">
-                          <string>Check Style:</string>
-                         </property>
-                        </widget>
-                       </item>
-                       <item>
-                        <widget class="QComboBox" name="ChkStil">
-                         <item>
-                          <property name="text">
-                           <string>Check</string>
-                          </property>
-                         </item>
-                         <item>
-                          <property name="text">
-                           <string>Cross</string>
-                          </property>
-                         </item>
-                         <item>
-                          <property name="text">
-                           <string>Diamond</string>
-                          </property>
-                         </item>
-                         <item>
-                          <property name="text">
-                           <string>Circle</string>
-                          </property>
-                         </item>
-                         <item>
-                          <property name="text">
-                           <string>Star</string>
-                          </property>
-                         </item>
-                         <item>
-                          <property name="text">
-                           <string>Square</string>
-                          </property>
-                         </item>
-                        </widget>
-                       </item>
-                       <item>
-                        <spacer name="horizontalSpacer_3">
-                         <property name="orientation">
-                          <enum>Qt::Horizontal</enum>
-                         </property>
-                         <property name="sizeHint" stdset="0">
-                          <size>
-                           <width>40</width>
-                           <height>20</height>
-                          </size>
-                         </property>
-                        </spacer>
-                       </item>
-                      </layout>
-                     </item>
-                     <item>
-                      <widget class="QCheckBox" name="isChkd">
+                   <layout class="QHBoxLayout" name="horizontalLayout_8">
+                    <item>
+                     <widget class="QLabel" name="CText1">
+                      <property name="text">
+                       <string>Check Style:</string>
+                      </property>
+                     </widget>
+                    </item>
+                    <item>
+                     <widget class="QComboBox" name="ChkStil">
+                      <item>
                        <property name="text">
-                        <string>Default is Checked</string>
+                        <string>Check</string>
                        </property>
-                      </widget>
-                     </item>
-                     <item>
-                      <spacer name="verticalSpacer_4">
-                       <property name="orientation">
-                        <enum>Qt::Vertical</enum>
+                      </item>
+                      <item>
+                       <property name="text">
+                        <string>Cross</string>
                        </property>
-                       <property name="sizeHint" stdset="0">
-                        <size>
-                         <width>20</width>
-                         <height>40</height>
-                        </size>
+                      </item>
+                      <item>
+                       <property name="text">
+                        <string>Diamond</string>
                        </property>
-                      </spacer>
-                     </item>
-                    </layout>
+                      </item>
+                      <item>
+                       <property name="text">
+                        <string>Circle</string>
+                       </property>
+                      </item>
+                      <item>
+                       <property name="text">
+                        <string>Star</string>
+                       </property>
+                      </item>
+                      <item>
+                       <property name="text">
+                        <string>Square</string>
+                       </property>
+                      </item>
+                     </widget>
+                    </item>
+                    <item>
+                     <spacer name="horizontalSpacer_3">
+                      <property name="orientation">
+                       <enum>Qt::Horizontal</enum>
+                      </property>
+                      <property name="sizeHint" stdset="0">
+                       <size>
+                        <width>40</width>
+                        <height>20</height>
+                       </size>
+                      </property>
+                     </spacer>
+                    </item>
+                   </layout>
+                  </item>
+                  <item>
+                   <widget class="QCheckBox" name="isChkd">
+                    <property name="text">
+                     <string>Default is Checked</string>
+                    </property>
                    </widget>
                   </item>
+                  <item>
+                   <spacer name="verticalSpacer_4">
+                    <property name="orientation">
+                     <enum>Qt::Vertical</enum>
+                    </property>
+                    <property name="sizeHint" stdset="0">
+                     <size>
+                      <width>20</width>
+                      <height>40</height>
+                     </size>
+                    </property>
+                   </spacer>
+                  </item>
                  </layout>
                 </widget>
                 <widget class="QWidget" name="page_6">
@@ -848,38 +851,42 @@
                    <number>0</number>
                   </property>
                   <item>
-                   <widget class="QGroupBox" name="OptCombo">
-                    <property name="title">
-                     <string/>
+                   <widget class="QCheckBox" name="CanEdit">
+                    <property name="text">
+                     <string>Editable</string>
                     </property>
-                    <layout class="QVBoxLayout" name="OptComboLayout">
-                     <item>
-                      <widget class="QCheckBox" name="CanEdit">
-                       <property name="text">
-                        <string>Editable</string>
-                       </property>
-                      </widget>
-                     </item>
-                     <item>
-                      <spacer name="verticalSpacer_6">
-                       <property name="orientation">
-                        <enum>Qt::Vertical</enum>
-                       </property>
-                       <property name="sizeHint" stdset="0">
-                        <size>
-                         <width>20</width>
-                         <height>40</height>
-                        </size>
-                       </property>
-                      </spacer>
-                     </item>
-                    </layout>
                    </widget>
                   </item>
+                  <item>
+                   <spacer name="verticalSpacer_6">
+                    <property name="orientation">
+                     <enum>Qt::Vertical</enum>
+                    </property>
+                    <property name="sizeHint" stdset="0">
+                     <size>
+                      <width>20</width>
+                      <height>40</height>
+                     </size>
+                    </property>
+                   </spacer>
+                  </item>
                  </layout>
                 </widget>
                </widget>
               </item>
+              <item>
+               <spacer name="verticalSpacer_13">
+                <property name="orientation">
+                 <enum>Qt::Vertical</enum>
+                </property>
+                <property name="sizeHint" stdset="0">
+                 <size>
+                  <width>20</width>
+                  <height>0</height>
+                 </size>
+                </property>
+               </spacer>
+              </item>
              </layout>
             </widget>
             <widget class="QWidget" name="tabAction">
@@ -1095,31 +1102,24 @@
                      <string>Destination</string>
                     </property>
                     <layout class="QGridLayout" name="GroupBoxDestinationLayout">
-                     <item row="4" column="1">
-                      <widget class="QSpinBox" name="SpinBox31">
-                       <property name="suffix">
-                        <string> pt</string>
-                       </property>
-                      </widget>
-                     </item>
-                     <item row="3" column="1">
-                      <widget class="QSpinBox" name="SpinBox21">
-                       <property name="suffix">
-                        <string> pt</string>
+                     <item row="0" column="2">
+                      <widget class="QPushButton" name="ChFile">
+                       <property name="text">
+                        <string>Change...</string>
                        </property>
                       </widget>
                      </item>
-                     <item row="4" column="0">
-                      <widget class="QLabel" name="label_17">
+                     <item row="2" column="0">
+                      <widget class="QLabel" name="label_15">
                        <property name="text">
-                        <string>Y-Pos:</string>
+                        <string>Page:</string>
                        </property>
                       </widget>
                      </item>
-                     <item row="3" column="0">
-                      <widget class="QLabel" name="label_16">
-                       <property name="text">
-                        <string>X-Pos:</string>
+                     <item row="0" column="1">
+                      <widget class="QLineEdit" name="Destfile">
+                       <property name="readOnly">
+                        <bool>true</bool>
                        </property>
                       </widget>
                      </item>
@@ -1133,24 +1133,24 @@
                        </property>
                       </widget>
                      </item>
-                     <item row="2" column="0">
-                      <widget class="QLabel" name="label_15">
+                     <item row="4" column="0">
+                      <widget class="QLabel" name="label_17">
                        <property name="text">
-                        <string>Page:</string>
+                        <string>Y-Pos:</string>
                        </property>
                       </widget>
                      </item>
-                     <item row="0" column="2">
-                      <widget class="QPushButton" name="ChFile">
+                     <item row="1" column="0" colspan="3">
+                      <widget class="QCheckBox" name="useAbsolute">
                        <property name="text">
-                        <string>Change...</string>
+                        <string>Export absolute Filename</string>
                        </property>
                       </widget>
                      </item>
-                     <item row="0" column="1">
-                      <widget class="QLineEdit" name="Destfile">
-                       <property name="readOnly">
-                        <bool>true</bool>
+                     <item row="4" column="1">
+                      <widget class="QSpinBox" name="SpinBox31">
+                       <property name="suffix">
+                        <string> pt</string>
                        </property>
                       </widget>
                      </item>
@@ -1161,13 +1161,33 @@
                        </property>
                       </widget>
                      </item>
-                     <item row="1" column="0" colspan="3">
-                      <widget class="QCheckBox" name="useAbsolute">
+                     <item row="3" column="0">
+                      <widget class="QLabel" name="label_16">
                        <property name="text">
-                        <string>Export absolute Filename</string>
+                        <string>X-Pos:</string>
+                       </property>
+                      </widget>
+                     </item>
+                     <item row="3" column="1">
+                      <widget class="QSpinBox" name="SpinBox21">
+                       <property name="suffix">
+                        <string> pt</string>
                        </property>
                       </widget>
                      </item>
+                     <item row="5" column="1">
+                      <spacer name="verticalSpacer_12">
+                       <property name="orientation">
+                        <enum>Qt::Vertical</enum>
+                       </property>
+                       <property name="sizeHint" stdset="0">
+                        <size>
+                         <width>20</width>
+                         <height>40</height>
+                        </size>
+                       </property>
+                      </spacer>
+                     </item>
                     </layout>
                    </widget>
                   </item>
@@ -1557,6 +1577,19 @@
                        </layout>
                       </widget>
                      </item>
+                     <item>
+                      <spacer name="verticalSpacer_10">
+                       <property name="orientation">
+                        <enum>Qt::Vertical</enum>
+                       </property>
+                       <property name="sizeHint" stdset="0">
+                        <size>
+                         <width>20</width>
+                         <height>40</height>
+                        </size>
+                       </property>
+                      </spacer>
+                     </item>
                     </layout>
                    </widget>
                   </item>
@@ -1990,6 +2023,19 @@
                        </property>
                       </widget>
                      </item>
+                     <item>
+                      <spacer name="verticalSpacer_11">
+                       <property name="orientation">
+                        <enum>Qt::Vertical</enum>
+                       </property>
+                       <property name="sizeHint" stdset="0">
+                        <size>
+                         <width>20</width>
+                         <height>40</height>
+                        </size>
+                       </property>
+                      </spacer>
+                     </item>
                     </layout>
                    </widget>
                   </item>
@@ -2005,82 +2051,73 @@
              </attribute>
              <layout class="QVBoxLayout" name="verticalLayout_34">
               <item>
-               <widget class="QGroupBox" name="ValidateGroup">
-                <property name="title">
-                 <string/>
+               <widget class="QRadioButton" name="NoValid">
+                <property name="text">
+                 <string>Value is not validated</string>
+                </property>
+                <property name="checked">
+                 <bool>true</bool>
+                </property>
+               </widget>
+              </item>
+              <item>
+               <layout class="QGridLayout" name="gridLayout_10">
+                <item row="0" column="0">
+                 <widget class="QRadioButton" name="SimpleValid">
+                  <property name="text">
+                   <string>Value must be greater than or equal to:</string>
+                  </property>
+                 </widget>
+                </item>
+                <item row="1" column="0">
+                 <widget class="QLabel" name="label_27">
+                  <property name="text">
+                   <string>and less or equal to:</string>
+                  </property>
+                  <property name="alignment">
+                   <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+                  </property>
+                 </widget>
+                </item>
+                <item row="0" column="1">
+                 <widget class="QLineEdit" name="MinValid"/>
+                </item>
+                <item row="1" column="1">
+                 <widget class="QLineEdit" name="MaxValid"/>
+                </item>
+               </layout>
+              </item>
+              <item>
+               <widget class="QRadioButton" name="CustomValid">
+                <property name="text">
+                 <string>Custom validate script:</string>
                 </property>
-                <layout class="QVBoxLayout" name="verticalLayout_35">
-                 <item>
-                  <widget class="QRadioButton" name="NoValid">
-                   <property name="text">
-                    <string>Value is not validated</string>
-                   </property>
-                   <property name="checked">
-                    <bool>true</bool>
-                   </property>
-                  </widget>
-                 </item>
-                 <item>
-                  <layout class="QGridLayout" name="gridLayout_10">
-                   <item row="0" column="0">
-                    <widget class="QRadioButton" name="SimpleValid">
-                     <property name="text">
-                      <string>Value must be greater than or equal to:</string>
-                     </property>
-                    </widget>
-                   </item>
-                   <item row="1" column="0">
-                    <widget class="QLabel" name="label_27">
-                     <property name="text">
-                      <string>and less or equal to:</string>
-                     </property>
-                     <property name="alignment">
-                      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
-                     </property>
-                    </widget>
-                   </item>
-                   <item row="0" column="1">
-                    <widget class="QLineEdit" name="MinValid"/>
-                   </item>
-                   <item row="1" column="1">
-                    <widget class="QLineEdit" name="MaxValid"/>
-                   </item>
-                  </layout>
-                 </item>
-                 <item>
-                  <widget class="QRadioButton" name="CustomValid">
-                   <property name="text">
-                    <string>Custom validate script:</string>
-                   </property>
-                  </widget>
-                 </item>
-                 <item>
-                  <layout class="QHBoxLayout" name="horizontalLayout_19">
-                   <item>
-                    <widget class="QTextEdit" name="ValidScript">
-                     <property name="minimumSize">
-                      <size>
-                       <width>0</width>
-                       <height>50</height>
-                      </size>
-                     </property>
-                    </widget>
-                   </item>
-                   <item>
-                    <widget class="QPushButton" name="EditValScript">
-                     <property name="text">
-                      <string>Edit...</string>
-                     </property>
-                     <property name="autoDefault">
-                      <bool>false</bool>
-                     </property>
-                    </widget>
-                   </item>
-                  </layout>
-                 </item>
-                </layout>
                </widget>
               </item>
+              <item>
+               <layout class="QHBoxLayout" name="horizontalLayout_19">
+                <item>
+                 <widget class="QTextEdit" name="ValidScript">
+                  <property name="minimumSize">
+                   <size>
+                    <width>0</width>
+                    <height>50</height>
+                   </size>
+                  </property>
+                 </widget>
+                </item>
+                <item>
+                 <widget class="QPushButton" name="EditValScript">
+                  <property name="text">
+                   <string>Edit...</string>
+                  </property>
+                  <property name="autoDefault">
+                   <bool>false</bool>
+                  </property>
+                 </widget>
+                </item>
+               </layout>
+              </item>
              </layout>
             </widget>
             <widget class="QWidget" name="tabCalculate">
@@ -2089,126 +2126,127 @@
              </attribute>
              <layout class="QVBoxLayout" name="verticalLayout_36">
               <item>
-               <widget class="QGroupBox" name="CalcGroup">
-                <property name="title">
-                 <string/>
+               <widget class="QRadioButton" name="NoCalc">
+                <property name="text">
+                 <string>Value is not calculated</string>
                 </property>
-                <layout class="QVBoxLayout" name="verticalLayout_37">
-                 <item>
-                  <widget class="QRadioButton" name="NoCalc">
+                <property name="checked">
+                 <bool>true</bool>
+                </property>
+               </widget>
+              </item>
+              <item>
+               <layout class="QHBoxLayout" name="horizontalLayout_20">
+                <item>
+                 <widget class="QRadioButton" name="SimpleCalc">
+                  <property name="text">
+                   <string>Value is the</string>
+                  </property>
+                 </widget>
+                </item>
+                <item>
+                 <widget class="QComboBox" name="CalcArt">
+                  <item>
                    <property name="text">
-                    <string>Value is not calculated</string>
+                    <string>sum</string>
                    </property>
-                   <property name="checked">
-                    <bool>true</bool>
+                  </item>
+                  <item>
+                   <property name="text">
+                    <string>product</string>
                    </property>
-                  </widget>
-                 </item>
-                 <item>
-                  <layout class="QHBoxLayout" name="horizontalLayout_20">
-                   <item>
-                    <widget class="QRadioButton" name="SimpleCalc">
-                     <property name="text">
-                      <string>Value is the</string>
-                     </property>
-                    </widget>
-                   </item>
-                   <item>
-                    <widget class="QComboBox" name="CalcArt">
-                     <item>
-                      <property name="text">
-                       <string>sum</string>
-                      </property>
-                     </item>
-                     <item>
-                      <property name="text">
-                       <string>product</string>
-                      </property>
-                     </item>
-                     <item>
-                      <property name="text">
-                       <string>average</string>
-                      </property>
-                     </item>
-                     <item>
-                      <property name="text">
-                       <string>minimum</string>
-                      </property>
-                     </item>
-                     <item>
-                      <property name="text">
-                       <string>maximum</string>
-                      </property>
-                     </item>
-                    </widget>
-                   </item>
-                   <item>
-                    <widget class="QLabel" name="label_28">
-                     <property name="text">
-                      <string>of the following fields:</string>
-                     </property>
-                    </widget>
-                   </item>
-                  </layout>
-                 </item>
-                 <item>
-                  <layout class="QHBoxLayout" name="horizontalLayout_21">
-                   <item>
-                    <widget class="QLineEdit" name="CalcFields"/>
-                   </item>
-                   <item>
-                    <widget class="QPushButton" name="SeField">
-                     <property name="text">
-                      <string>Pick...</string>
-                     </property>
-                    </widget>
-                   </item>
-                  </layout>
-                 </item>
-                 <item>
-                  <widget class="QRadioButton" name="CustomCalc">
+                  </item>
+                  <item>
                    <property name="text">
-                    <string>Custom calculation script:</string>
+                    <string>average</string>
                    </property>
-                  </widget>
-                 </item>
-                 <item>
-                  <layout class="QHBoxLayout" name="horizontalLayout_22">
-                   <item>
-                    <widget class="QTextEdit" name="CalcScript">
-                     <property name="minimumSize">
-                      <size>
-                       <width>0</width>
-                       <height>50</height>
-                      </size>
-                     </property>
-                     <property name="focusPolicy">
-                      <enum>Qt::NoFocus</enum>
-                     </property>
-                     <property name="autoFillBackground">
-                      <bool>true</bool>
-                     </property>
-                     <property name="readOnly">
-                      <bool>true</bool>
-                     </property>
-                    </widget>
-                   </item>
-                   <item>
-                    <widget class="QPushButton" name="EditCalc">
-                     <property name="text">
-                      <string>Edit...</string>
-                     </property>
-                    </widget>
-                   </item>
-                  </layout>
-                 </item>
-                </layout>
+                  </item>
+                  <item>
+                   <property name="text">
+                    <string>minimum</string>
+                   </property>
+                  </item>
+                  <item>
+                   <property name="text">
+                    <string>maximum</string>
+                   </property>
+                  </item>
+                 </widget>
+                </item>
+                <item>
+                 <widget class="QLabel" name="label_28">
+                  <property name="text">
+                   <string>of the following fields:</string>
+                  </property>
+                 </widget>
+                </item>
+               </layout>
+              </item>
+              <item>
+               <layout class="QHBoxLayout" name="horizontalLayout_21">
+                <item>
+                 <widget class="QLineEdit" name="CalcFields"/>
+                </item>
+                <item>
+                 <widget class="QPushButton" name="SeField">
+                  <property name="text">
+                   <string>Pick...</string>
+                  </property>
+                 </widget>
+                </item>
+               </layout>
+              </item>
+              <item>
+               <widget class="QRadioButton" name="CustomCalc">
+                <property name="text">
+                 <string>Custom calculation script:</string>
+                </property>
                </widget>
               </item>
+              <item>
+               <layout class="QHBoxLayout" name="horizontalLayout_22">
+                <item>
+                 <widget class="QTextEdit" name="CalcScript">
+                  <property name="minimumSize">
+                   <size>
+                    <width>0</width>
+                    <height>50</height>
+                   </size>
+                  </property>
+                  <property name="focusPolicy">
+                   <enum>Qt::NoFocus</enum>
+                  </property>
+                  <property name="autoFillBackground">
+                   <bool>true</bool>
+                  </property>
+                  <property name="readOnly">
+                   <bool>true</bool>
+                  </property>
+                 </widget>
+                </item>
+                <item>
+                 <widget class="QPushButton" name="EditCalc">
+                  <property name="text">
+                   <string>Edit...</string>
+                  </property>
+                 </widget>
+                </item>
+               </layout>
+              </item>
              </layout>
             </widget>
            </widget>
           </item>
+          <item row="0" column="1">
+           <widget class="NameWidget" name="Name"/>
+          </item>
+          <item row="1" column="0">
+           <widget class="QLabel" name="label_3">
+            <property name="text">
+             <string>Tooltip:</string>
+            </property>
+           </widget>
+          </item>
          </layout>
         </widget>
        </item>
-- 
2.27.0

field_properties.gif (295,893 bytes)   
field_properties.gif (295,893 bytes)   

jghali

2021-01-13 02:41

administrator   ~0048683

Applied, thanks!

FirasH

2021-01-16 11:39

reporter   ~0048696

I like this UI improvements!
I'm not contributing a lot lately but always keep an eye on the development.

Nice work! Keep it going!

FirasH

2021-03-21 15:15

reporter   ~0049006

Thanks!
Fixed in 1.5.7.svn (24404)

Issue History

Date Modified Username Field Change
2021-01-12 22:14 bubu New Issue
2021-01-12 22:14 bubu File Added: 0001-Update-layout-for-PDF-Field-Properties-dialog.patch
2021-01-12 22:14 bubu File Added: field_properties.gif
2021-01-13 02:41 jghali Assigned To => jghali
2021-01-13 02:41 jghali Status new => resolved
2021-01-13 02:41 jghali Resolution open => fixed
2021-01-13 02:41 jghali Fixed in Version => 1.5.7.svn
2021-01-13 02:41 jghali Note Added: 0048683
2021-01-13 06:58 PeterBenedek Relationship added child of 0013906
2021-01-16 11:39 FirasH Note Added: 0048696
2021-03-21 15:15 FirasH Status resolved => closed
2021-03-21 15:15 FirasH Note Added: 0049006