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 /cui/uiconfig/ui/optviewpage.ui | |
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 'cui/uiconfig/ui/optviewpage.ui')
-rw-r--r-- | cui/uiconfig/ui/optviewpage.ui | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/cui/uiconfig/ui/optviewpage.ui b/cui/uiconfig/ui/optviewpage.ui index 745f2e310c62..59a5ec07e7d2 100644 --- a/cui/uiconfig/ui/optviewpage.ui +++ b/cui/uiconfig/ui/optviewpage.ui @@ -9,7 +9,7 @@ <property name="step-increment">1</property> <property name="page-increment">10</property> </object> - <!-- n-columns=2 n-rows=1 --> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="OptViewPage"> <property name="visible">True</property> <property name="can-focus">False</property> @@ -18,7 +18,7 @@ <property name="border-width">6</property> <property name="column-spacing">24</property> <child> - <!-- n-columns=1 n-rows=4 --> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid2"> <property name="visible">True</property> <property name="can-focus">False</property> @@ -39,7 +39,7 @@ <property name="top-padding">6</property> <property name="left-padding">12</property> <child> - <!-- n-columns=2 n-rows=2 --> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid7"> <property name="visible">True</property> <property name="can-focus">False</property> @@ -149,13 +149,13 @@ <property name="top-padding">6</property> <property name="left-padding">12</property> <child> - <!-- n-columns=1 n-rows=2 --> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid8"> <property name="visible">True</property> <property name="can-focus">False</property> <property name="row-spacing">3</property> <child> - <!-- n-columns=2 n-rows=1 --> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="menuiconsbox"> <property name="visible">True</property> <property name="can-focus">False</property> @@ -203,7 +203,7 @@ </packing> </child> <child> - <!-- n-columns=2 n-rows=1 --> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="menushortcutsbpx"> <property name="visible">True</property> <property name="can-focus">False</property> @@ -280,7 +280,7 @@ <property name="top-padding">6</property> <property name="left-padding">12</property> <child> - <!-- n-columns=2 n-rows=3 --> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="refgrid1"> <property name="visible">True</property> <property name="can-focus">False</property> @@ -428,7 +428,7 @@ <property name="top-padding">6</property> <property name="left-padding">12</property> <child> - <!-- n-columns=3 n-rows=1 --> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="refgrid"> <property name="visible">True</property> <property name="can-focus">False</property> @@ -515,7 +515,7 @@ </packing> </child> <child> - <!-- n-columns=1 n-rows=2 --> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid1"> <property name="visible">True</property> <property name="can-focus">False</property> @@ -533,7 +533,7 @@ <property name="top-padding">6</property> <property name="left-padding">12</property> <child> - <!-- n-columns=3 n-rows=7 --> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid3"> <property name="visible">True</property> <property name="can-focus">False</property> @@ -710,7 +710,7 @@ <property name="top-padding">6</property> <property name="left-padding">12</property> <child> - <!-- n-columns=3 n-rows=3 --> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid9"> <property name="visible">True</property> <property name="can-focus">False</property> @@ -756,7 +756,7 @@ </packing> </child> <child> - <!-- n-columns=3 n-rows=3 --> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid"> <property name="visible">True</property> <property name="can-focus">False</property> |