[LyX/2.3.x] UI improvement to math matrix dialog, suggested by magistere (#11888)

Juergen Spitzmueller spitz at lyx.org
Thu Jun 11 15:06:42 UTC 2020


commit e20389ed6bb58d720aedc020e0257efd4742aec0
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Thu Jun 11 17:29:37 2020 +0200

    UI improvement to math matrix dialog, suggested by magistere (#11888)
---
 src/frontends/qt4/ui/MathMatrixUi.ui |   73 ++++++++++++++++------------------
 status.23x                           |    2 +
 2 files changed, 36 insertions(+), 39 deletions(-)

diff --git a/src/frontends/qt4/ui/MathMatrixUi.ui b/src/frontends/qt4/ui/MathMatrixUi.ui
index b96a792..03f4160 100644
--- a/src/frontends/qt4/ui/MathMatrixUi.ui
+++ b/src/frontends/qt4/ui/MathMatrixUi.ui
@@ -6,7 +6,7 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>398</width>
+    <width>487</width>
     <height>372</height>
    </rect>
   </property>
@@ -17,12 +17,21 @@
    <bool>true</bool>
   </property>
   <layout class="QGridLayout" name="gridLayout">
-   <item row="0" column="0" colspan="3">
+   <item row="0" column="0" colspan="2">
     <layout class="QHBoxLayout">
      <property name="spacing">
       <number>6</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>
@@ -114,45 +123,22 @@
      </property>
     </widget>
    </item>
-   <item row="1" column="2">
-    <spacer>
-     <property name="orientation">
-      <enum>Qt::Horizontal</enum>
-     </property>
-     <property name="sizeType">
-      <enum>QSizePolicy::MinimumExpanding</enum>
-     </property>
-     <property name="sizeHint" stdset="0">
-      <size>
-       <width>20</width>
-       <height>20</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
    <item row="2" column="0">
-    <spacer>
-     <property name="orientation">
-      <enum>Qt::Vertical</enum>
-     </property>
-     <property name="sizeType">
-      <enum>QSizePolicy::MinimumExpanding</enum>
-     </property>
-     <property name="sizeHint" stdset="0">
-      <size>
-       <width>20</width>
-       <height>20</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
-   <item row="3" column="0">
     <widget class="QGroupBox" name="alignmentGB">
      <property name="title">
       <string>Alignment</string>
      </property>
      <layout class="QGridLayout" name="grid_1">
-      <property name="margin">
+      <property name="leftMargin">
+       <number>11</number>
+      </property>
+      <property name="topMargin">
+       <number>11</number>
+      </property>
+      <property name="rightMargin">
+       <number>11</number>
+      </property>
+      <property name="bottomMargin">
        <number>11</number>
       </property>
       <property name="spacing">
@@ -204,7 +190,7 @@
      </layout>
     </widget>
    </item>
-   <item row="3" column="1" colspan="2">
+   <item row="2" column="1">
     <widget class="QGroupBox" name="decorationtGB">
      <property name="title">
       <string>Decoration</string>
@@ -233,12 +219,21 @@
      </layout>
     </widget>
    </item>
-   <item row="4" column="0">
+   <item row="3" column="0">
     <layout class="QHBoxLayout">
      <property name="spacing">
       <number>6</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>
diff --git a/status.23x b/status.23x
index 0cf0443..392e6d1 100644
--- a/status.23x
+++ b/status.23x
@@ -20,6 +20,8 @@ What's new
 
 * USER INTERFACE
 
+- Improve UI of math matrix dialog UI (bug 11888).
+
 
 * MISCELLANEOUS
 


More information about the lyx-cvs mailing list