diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-11-14 21:19:30 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-11-15 20:14:10 +0100 |
commit | 15377223043d4430ebf49eefe0f00a736908d02d (patch) | |
tree | 0907eb53c6d27c089d83ea7b4f570158da7b4933 /starmath/uiconfig | |
parent | 8a92373a20dfce8112e45bd80f0f6c927224ff98 (diff) |
add <!-- n-columns=1 n-rows=1 --> before every GtkGrid
for a in `git ls-files '*.ui'`; do sed -i 's/^\( *\)\(<object class="GtkGrid".*\)/\1<!-- n-columns=1 n-rows=1 -->\n\1\2/' $a; done
so we get the same behavior in glade as before 3.38 in that the grid preview
don't show any unoccupied grid squares
replace all existing n-columns=X n-rows=Y lines because they are
all wrong, except for
cui/uiconfig/ui/additionsfragment.ui
sw/uiconfig/swriter/ui/pageheaderpanel.ui
sw/uiconfig/swriter/ui/pagefooterpanel.ui
which are correct.
Change-Id: I401bbe8e098c26e7f57d6a872d3b70fc1ce85a00
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105846
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath/uiconfig')
-rw-r--r-- | starmath/uiconfig/smath/ui/catalogdialog.ui | 1 | ||||
-rw-r--r-- | starmath/uiconfig/smath/ui/fontdialog.ui | 2 | ||||
-rw-r--r-- | starmath/uiconfig/smath/ui/fontsizedialog.ui | 1 | ||||
-rw-r--r-- | starmath/uiconfig/smath/ui/fonttypedialog.ui | 2 | ||||
-rw-r--r-- | starmath/uiconfig/smath/ui/spacingdialog.ui | 11 | ||||
-rw-r--r-- | starmath/uiconfig/smath/ui/symdefinedialog.ui | 7 |
6 files changed, 24 insertions, 0 deletions
diff --git a/starmath/uiconfig/smath/ui/catalogdialog.ui b/starmath/uiconfig/smath/ui/catalogdialog.ui index 60b586a4ef19..d6d3f5900097 100644 --- a/starmath/uiconfig/smath/ui/catalogdialog.ui +++ b/starmath/uiconfig/smath/ui/catalogdialog.ui @@ -98,6 +98,7 @@ </packing> </child> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid1"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/starmath/uiconfig/smath/ui/fontdialog.ui b/starmath/uiconfig/smath/ui/fontdialog.ui index 7808c392f1e8..d857c219d0f6 100644 --- a/starmath/uiconfig/smath/ui/fontdialog.ui +++ b/starmath/uiconfig/smath/ui/fontdialog.ui @@ -101,6 +101,7 @@ <property name="top_padding">6</property> <property name="left_padding">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="fontgrid"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -199,6 +200,7 @@ <property name="top_padding">6</property> <property name="left_padding">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid2"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/starmath/uiconfig/smath/ui/fontsizedialog.ui b/starmath/uiconfig/smath/ui/fontsizedialog.ui index 74c7e2ad35f9..c1a25926617c 100644 --- a/starmath/uiconfig/smath/ui/fontsizedialog.ui +++ b/starmath/uiconfig/smath/ui/fontsizedialog.ui @@ -204,6 +204,7 @@ <property name="top_padding">6</property> <property name="left_padding">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid1"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/starmath/uiconfig/smath/ui/fonttypedialog.ui b/starmath/uiconfig/smath/ui/fonttypedialog.ui index 7748479aafe8..cb1dbc41f323 100644 --- a/starmath/uiconfig/smath/ui/fonttypedialog.ui +++ b/starmath/uiconfig/smath/ui/fonttypedialog.ui @@ -198,6 +198,7 @@ <property name="top_padding">6</property> <property name="left_padding">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid1"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -371,6 +372,7 @@ <property name="top_padding">6</property> <property name="left_padding">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid2"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/starmath/uiconfig/smath/ui/spacingdialog.ui b/starmath/uiconfig/smath/ui/spacingdialog.ui index 28d91b670698..36277c0c3472 100644 --- a/starmath/uiconfig/smath/ui/spacingdialog.ui +++ b/starmath/uiconfig/smath/ui/spacingdialog.ui @@ -265,6 +265,7 @@ <property name="hexpand">True</property> <property name="spacing">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid2"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -760,6 +761,7 @@ <property name="hexpand">True</property> <property name="spacing">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid3"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -871,6 +873,7 @@ <property name="hexpand">True</property> <property name="spacing">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid4"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -969,6 +972,7 @@ <property name="hexpand">True</property> <property name="spacing">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid5"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -1067,6 +1071,7 @@ <property name="hexpand">True</property> <property name="spacing">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid6"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -1165,6 +1170,7 @@ <property name="hexpand">True</property> <property name="spacing">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid7"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -1263,6 +1269,7 @@ <property name="hexpand">True</property> <property name="spacing">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid8"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -1374,6 +1381,7 @@ <property name="hexpand">True</property> <property name="spacing">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid9"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -1472,6 +1480,7 @@ <property name="hexpand">True</property> <property name="spacing">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid10"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -1570,6 +1579,7 @@ <property name="hexpand">True</property> <property name="spacing">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid11"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -1668,6 +1678,7 @@ <property name="hexpand">True</property> <property name="spacing">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid1"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/starmath/uiconfig/smath/ui/symdefinedialog.ui b/starmath/uiconfig/smath/ui/symdefinedialog.ui index 76863e8be5d8..a40e3c8bc942 100644 --- a/starmath/uiconfig/smath/ui/symdefinedialog.ui +++ b/starmath/uiconfig/smath/ui/symdefinedialog.ui @@ -81,11 +81,13 @@ <property name="orientation">vertical</property> <property name="spacing">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid1"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="column_spacing">18</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid4"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -136,6 +138,7 @@ </packing> </child> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid5"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -194,6 +197,7 @@ </packing> </child> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -306,11 +310,13 @@ </packing> </child> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid2"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="column_spacing">18</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid3"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -493,6 +499,7 @@ </packing> </child> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid7"> <property name="visible">True</property> <property name="can_focus">False</property> |