summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-12-21 15:45:51 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-12-22 10:17:25 +0100
commitd1510db3fac629977bfcfb60260f9a45e4e3ca1a (patch)
tree32c88da9591550b6e754ed164a4b640160b08f8e
parent4ad89c0fa19ddf66882d58468fac61da38d8ffcb (diff)
replace deprecated xpad/ypad
drop entirely suspicious xpad/ypad which are probably accidental Change-Id: Ie80d93502359373e38cc61f63cd5bec962f5d193 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108115 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--chart2/uiconfig/ui/tp_RangeChooser.ui2
-rw-r--r--cui/uiconfig/ui/aboutdialog.ui5
-rw-r--r--cui/uiconfig/ui/hyperlinkmailpage.ui1
-rw-r--r--cui/uiconfig/ui/hyperlinknewdocpage.ui1
-rw-r--r--cui/uiconfig/ui/paragalignpage.ui1
-rw-r--r--sc/uiconfig/scalc/ui/movecopysheet.ui2
-rw-r--r--sc/uiconfig/scalc/ui/pivottablelayoutdialog.ui5
-rw-r--r--sc/uiconfig/scalc/ui/randomnumbergenerator.ui4
-rw-r--r--sc/uiconfig/scalc/ui/samplingdialog.ui2
-rw-r--r--sc/uiconfig/scalc/ui/sharedocumentdlg.ui1
-rw-r--r--sc/uiconfig/scalc/ui/sheetprintpage.ui6
-rw-r--r--sd/uiconfig/sdraw/ui/vectorize.ui1
-rw-r--r--sd/uiconfig/simpress/ui/insertslides.ui1
-rw-r--r--sfx2/uiconfig/ui/documentinfopage.ui1
-rw-r--r--sfx2/uiconfig/ui/password.ui2
-rw-r--r--svtools/uiconfig/ui/graphicexport.ui1
-rw-r--r--sw/uiconfig/swriter/ui/formattablepage.ui5
-rw-r--r--sw/uiconfig/swriter/ui/linenumbering.ui1
-rw-r--r--sw/uiconfig/swriter/ui/textgridpage.ui1
-rw-r--r--xmlsecurity/uiconfig/ui/selectcertificatedialog.ui2
20 files changed, 7 insertions, 38 deletions
diff --git a/chart2/uiconfig/ui/tp_RangeChooser.ui b/chart2/uiconfig/ui/tp_RangeChooser.ui
index 4fe9dd41527a..b8767a1e9704 100644
--- a/chart2/uiconfig/ui/tp_RangeChooser.ui
+++ b/chart2/uiconfig/ui/tp_RangeChooser.ui
@@ -242,7 +242,6 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">4</property>
<property name="label" translatable="yes" context="tp_RangeChooser|label1">Start Table Index</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">ED_TIME_BASED_START</property>
@@ -256,7 +255,6 @@
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">8</property>
<property name="label" translatable="yes" context="tp_RangeChooser|label2">End Table Index</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">ED_TIME_BASED_END</property>
diff --git a/cui/uiconfig/ui/aboutdialog.ui b/cui/uiconfig/ui/aboutdialog.ui
index 37dcd9fcdaad..4491978bc3c5 100644
--- a/cui/uiconfig/ui/aboutdialog.ui
+++ b/cui/uiconfig/ui/aboutdialog.ui
@@ -153,7 +153,6 @@
<object class="GtkLabel" id="lbVersionString">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">6</property>
<property name="label">7.0</property>
<property name="xalign">0</property>
<accessibility>
@@ -169,7 +168,6 @@
<object class="GtkLabel" id="lbEnvString">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">6</property>
<property name="label">8 cores</property>
<property name="xalign">0</property>
<accessibility>
@@ -219,7 +217,6 @@
<object class="GtkLabel" id="lbMiscString">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">6</property>
<property name="label">Calc</property>
<property name="wrap">True</property>
<property name="max_width_chars">25</property>
@@ -253,7 +250,6 @@
<object class="GtkLabel" id="lbLocaleString">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">6</property>
<property name="label">English</property>
<property name="xalign">0</property>
<accessibility>
@@ -284,7 +280,6 @@
<object class="GtkLabel" id="lbUIString">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">6</property>
<property name="label">VCL: gtk</property>
<property name="xalign">0</property>
<accessibility>
diff --git a/cui/uiconfig/ui/hyperlinkmailpage.ui b/cui/uiconfig/ui/hyperlinkmailpage.ui
index 42361a90550a..92fbe6334bb7 100644
--- a/cui/uiconfig/ui/hyperlinkmailpage.ui
+++ b/cui/uiconfig/ui/hyperlinkmailpage.ui
@@ -75,7 +75,6 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
- <property name="ypad">1</property>
<property name="label" translatable="yes" context="hyperlinkmailpage|subject_label">_Subject:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">subject</property>
diff --git a/cui/uiconfig/ui/hyperlinknewdocpage.ui b/cui/uiconfig/ui/hyperlinknewdocpage.ui
index 36aa344f8c06..9710e37dc427 100644
--- a/cui/uiconfig/ui/hyperlinknewdocpage.ui
+++ b/cui/uiconfig/ui/hyperlinknewdocpage.ui
@@ -142,7 +142,6 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
- <property name="ypad">1</property>
<property name="label" translatable="yes" context="hyperlinknewdocpage|types_label">File _type:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">types</property>
diff --git a/cui/uiconfig/ui/paragalignpage.ui b/cui/uiconfig/ui/paragalignpage.ui
index 72597cb60c66..e6c2179344c7 100644
--- a/cui/uiconfig/ui/paragalignpage.ui
+++ b/cui/uiconfig/ui/paragalignpage.ui
@@ -199,7 +199,6 @@
<child>
<object class="GtkLabel" id="labelST_LEFTALIGN_ASIAN">
<property name="can_focus">False</property>
- <property name="xpad">5</property>
<property name="label" translatable="yes" context="paragalignpage|labelST_LEFTALIGN_ASIAN">_Left/Top</property>
<property name="use_underline">True</property>
</object>
diff --git a/sc/uiconfig/scalc/ui/movecopysheet.ui b/sc/uiconfig/scalc/ui/movecopysheet.ui
index ca34c4972fef..dee2bcb2ebb8 100644
--- a/sc/uiconfig/scalc/ui/movecopysheet.ui
+++ b/sc/uiconfig/scalc/ui/movecopysheet.ui
@@ -143,7 +143,6 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">1</property>
<property name="label" translatable="yes" context="movecopysheet|label1">Action</property>
<property name="justify">center</property>
<attributes>
@@ -437,7 +436,6 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_top">5</property>
- <property name="xpad">2</property>
<property name="label" translatable="yes" context="movecopysheet|newNameLabel">New _name</property>
<property name="use_underline">True</property>
<attributes>
diff --git a/sc/uiconfig/scalc/ui/pivottablelayoutdialog.ui b/sc/uiconfig/scalc/ui/pivottablelayoutdialog.ui
index 14eb68e6c400..cbc9d313ce4c 100644
--- a/sc/uiconfig/scalc/ui/pivottablelayoutdialog.ui
+++ b/sc/uiconfig/scalc/ui/pivottablelayoutdialog.ui
@@ -160,7 +160,6 @@
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">4</property>
<property name="label" translatable="yes" context="pivottablelayoutdialog|label3">Column Fields:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">listbox-column</property>
@@ -242,7 +241,6 @@
<object class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">4</property>
<property name="label" translatable="yes" context="pivottablelayoutdialog|label5">Data Fields:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">listbox-data</property>
@@ -324,7 +322,6 @@
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">4</property>
<property name="label" translatable="yes" context="pivottablelayoutdialog|label4">Row Fields:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">listbox-row</property>
@@ -404,7 +401,6 @@
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">4</property>
<property name="label" translatable="yes" context="pivottablelayoutdialog|label2">Filters:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">listbox-page</property>
@@ -492,7 +488,6 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">4</property>
<property name="label" translatable="yes" context="pivottablelayoutdialog|label1">Available Fields:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">listbox-fields</property>
diff --git a/sc/uiconfig/scalc/ui/randomnumbergenerator.ui b/sc/uiconfig/scalc/ui/randomnumbergenerator.ui
index ed704b131459..6a91a14ba7f5 100644
--- a/sc/uiconfig/scalc/ui/randomnumbergenerator.ui
+++ b/sc/uiconfig/scalc/ui/randomnumbergenerator.ui
@@ -389,7 +389,7 @@
<object class="GtkLabel" id="seed-label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">12</property>
+ <property name="margin-start">12</property>
<property name="label" translatable="yes" context="randomnumbergenerator|seed-label">Seed:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">seed-spin</property>
@@ -444,7 +444,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="xpad">12</property>
+ <property name="margin-start">12</property>
<property name="label" translatable="yes" context="randomnumbergenerator|decimal-places-label">Decimal places:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">decimal-places-spin</property>
diff --git a/sc/uiconfig/scalc/ui/samplingdialog.ui b/sc/uiconfig/scalc/ui/samplingdialog.ui
index e659e55f15f6..273752e9f67f 100644
--- a/sc/uiconfig/scalc/ui/samplingdialog.ui
+++ b/sc/uiconfig/scalc/ui/samplingdialog.ui
@@ -247,7 +247,6 @@
<property name="can_focus">False</property>
<property name="margin-start">12</property>
<property name="hexpand">True</property>
- <property name="xpad">12</property>
<property name="label" translatable="yes" context="samplingdialog|label1">Sample size:</property>
<property name="use_underline">True</property>
<property name="justify">center</property>
@@ -314,7 +313,6 @@
<property name="can_focus">False</property>
<property name="margin-start">12</property>
<property name="hexpand">True</property>
- <property name="xpad">12</property>
<property name="label" translatable="yes" context="samplingdialog|label3">Period:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">period-spin</property>
diff --git a/sc/uiconfig/scalc/ui/sharedocumentdlg.ui b/sc/uiconfig/scalc/ui/sharedocumentdlg.ui
index b61db030cad2..8114359e1117 100644
--- a/sc/uiconfig/scalc/ui/sharedocumentdlg.ui
+++ b/sc/uiconfig/scalc/ui/sharedocumentdlg.ui
@@ -126,7 +126,6 @@
<object class="GtkLabel" id="warning">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">12</property>
<property name="label" translatable="yes" context="sharedocumentdlg|warning">Note: Changes to formatting attributes like fonts, colors, and number formats will not be saved and some functionalities like editing charts and drawing objects are not available in shared mode. Turn off shared mode to get exclusive access needed for those changes and functionalities.</property>
<property name="wrap">True</property>
<property name="width_chars">72</property>
diff --git a/sc/uiconfig/scalc/ui/sheetprintpage.ui b/sc/uiconfig/scalc/ui/sheetprintpage.ui
index 00baffb6f269..5d913776ccc5 100644
--- a/sc/uiconfig/scalc/ui/sheetprintpage.ui
+++ b/sc/uiconfig/scalc/ui/sheetprintpage.ui
@@ -181,8 +181,10 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="valign">center</property>
- <property name="xpad">6</property>
- <property name="ypad">6</property>
+ <property name="margin-start">6</property>
+ <property name="margin-end">6</property>
+ <property name="margin-top">6</property>
+ <property name="margin-bottom">6</property>
<property name="stock">gtk-missing-image</property>
</object>
<packing>
diff --git a/sd/uiconfig/sdraw/ui/vectorize.ui b/sd/uiconfig/sdraw/ui/vectorize.ui
index 337f353fad21..5d4da78681d5 100644
--- a/sd/uiconfig/sdraw/ui/vectorize.ui
+++ b/sd/uiconfig/sdraw/ui/vectorize.ui
@@ -186,7 +186,6 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin-start">12</property>
- <property name="xpad">12</property>
<property name="label" translatable="yes" context="vectorize|tilesft">Tile size:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">tiles</property>
diff --git a/sd/uiconfig/simpress/ui/insertslides.ui b/sd/uiconfig/simpress/ui/insertslides.ui
index 862681b6ba15..99f1fb9a336f 100644
--- a/sd/uiconfig/simpress/ui/insertslides.ui
+++ b/sd/uiconfig/simpress/ui/insertslides.ui
@@ -135,7 +135,6 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">1</property>
<property name="label" translatable="yes" context="insertslides|label1">Position</property>
<property name="justify">center</property>
<property name="yalign">0.55000001192092896</property>
diff --git a/sfx2/uiconfig/ui/documentinfopage.ui b/sfx2/uiconfig/ui/documentinfopage.ui
index 8ff9e4967be3..ce53a2064fdc 100644
--- a/sfx2/uiconfig/ui/documentinfopage.ui
+++ b/sfx2/uiconfig/ui/documentinfopage.ui
@@ -312,7 +312,6 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">end</property>
- <property name="xpad">1</property>
<property name="label" translatable="yes" context="documentinfopage|label7">_Type:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">showtype</property>
diff --git a/sfx2/uiconfig/ui/password.ui b/sfx2/uiconfig/ui/password.ui
index 379b7e248581..7a3f32e995dc 100644
--- a/sfx2/uiconfig/ui/password.ui
+++ b/sfx2/uiconfig/ui/password.ui
@@ -323,7 +323,7 @@
<object class="GtkLabel" id="minlenft">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">6</property>
+ <property name="margin-start">6</property>
<property name="xalign">0</property>
</object>
<packing>
diff --git a/svtools/uiconfig/ui/graphicexport.ui b/svtools/uiconfig/ui/graphicexport.ui
index 8838088e1d62..850e5c3c277b 100644
--- a/svtools/uiconfig/ui/graphicexport.ui
+++ b/svtools/uiconfig/ui/graphicexport.ui
@@ -1032,7 +1032,6 @@
<object class="GtkLabel" id="estsizeft">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">3</property>
<property name="wrap">True</property>
<property name="max_width_chars">30</property>
<property name="xalign">0</property>
diff --git a/sw/uiconfig/swriter/ui/formattablepage.ui b/sw/uiconfig/swriter/ui/formattablepage.ui
index ee275a8ab524..30aa539de260 100644
--- a/sw/uiconfig/swriter/ui/formattablepage.ui
+++ b/sw/uiconfig/swriter/ui/formattablepage.ui
@@ -212,7 +212,6 @@
<object class="GtkLabel" id="leftft">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">1</property>
<property name="label" translatable="yes" context="formattablepage|leftft">Lef_t</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">leftmf</property>
@@ -242,8 +241,6 @@
<object class="GtkLabel" id="aboveft">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">1</property>
- <property name="ypad">1</property>
<property name="label" translatable="yes" context="formattablepage|aboveft">_Above</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">abovemf</property>
@@ -258,7 +255,6 @@
<object class="GtkLabel" id="belowft">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">1</property>
<property name="label" translatable="yes" context="formattablepage|belowft">_Below</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">belowmf</property>
@@ -520,7 +516,6 @@
<object class="GtkLabel" id="label43">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xpad">1</property>
<property name="label" translatable="yes" context="formattablepage|label43">Alignment</property>
<attributes>
<attribute name="weight" value="bold"/>
diff --git a/sw/uiconfig/swriter/ui/linenumbering.ui b/sw/uiconfig/swriter/ui/linenumbering.ui
index f67a3df1d4e0..5c9ce0f9c1a4 100644
--- a/sw/uiconfig/swriter/ui/linenumbering.ui
+++ b/sw/uiconfig/swriter/ui/linenumbering.ui
@@ -582,7 +582,6 @@
<object class="GtkLabel" id="count">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="ypad">1</property>
<property name="label" translatable="yes" context="linenumbering|count">Count</property>
<attributes>
<attribute name="weight" value="bold"/>
diff --git a/sw/uiconfig/swriter/ui/textgridpage.ui b/sw/uiconfig/swriter/ui/textgridpage.ui
index 7f8e0e413f4f..df26f67188cb 100644
--- a/sw/uiconfig/swriter/ui/textgridpage.ui
+++ b/sw/uiconfig/swriter/ui/textgridpage.ui
@@ -300,7 +300,6 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
- <property name="ypad">4</property>
<property name="label" context="textgridpage|labelFT_LINERANGE">(1-48)</property>
</object>
<packing>
diff --git a/xmlsecurity/uiconfig/ui/selectcertificatedialog.ui b/xmlsecurity/uiconfig/ui/selectcertificatedialog.ui
index 3175340d8602..973980789cdf 100644
--- a/xmlsecurity/uiconfig/ui/selectcertificatedialog.ui
+++ b/xmlsecurity/uiconfig/ui/selectcertificatedialog.ui
@@ -99,7 +99,6 @@
<child>
<object class="GtkLabel" id="sign">
<property name="can_focus">False</property>
- <property name="ypad">1</property>
<property name="label" translatable="yes" context="selectcertificatedialog|sign">Select the certificate you want to use for signing:</property>
<property name="xalign">0</property>
</object>
@@ -111,7 +110,6 @@
<child>
<object class="GtkLabel" id="encrypt">
<property name="can_focus">False</property>
- <property name="ypad">1</property>
<property name="label" translatable="yes" context="selectcertificatedialog|encrypt">Select the certificate you want to use for encryption:</property>
<property name="xalign">0</property>
</object>