summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSusobhan Ghosh <susobhang70@gmail.com>2016-08-01 00:29:14 +0530
committerKatarina Behrens <Katarina.Behrens@cib.de>2016-08-08 08:47:43 +0000
commit1420b5765b4b1261c50b11fe7d0355ca7ca692b7 (patch)
treeed587034996e3f185adbc8568cadf462ba5431c1
parent31186a1c7112690735f6d14dcc7fd0c8b033e1d7 (diff)
tdf#83830: Adjust alignment of Writer Tab Panels
Change-Id: I4590d8448c997665882b0b1e26b1bdfbd4b3539e Reviewed-on: https://gerrit.libreoffice.org/27758 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
-rw-r--r--sw/uiconfig/swriter/ui/pagefooterpanel.ui1
-rw-r--r--sw/uiconfig/swriter/ui/pageformatpanel.ui1
-rw-r--r--sw/uiconfig/swriter/ui/pageheaderpanel.ui1
-rw-r--r--sw/uiconfig/swriter/ui/pagestylespanel.ui13
4 files changed, 10 insertions, 6 deletions
diff --git a/sw/uiconfig/swriter/ui/pagefooterpanel.ui b/sw/uiconfig/swriter/ui/pagefooterpanel.ui
index 2f47df474a6f..ccadeb0bd58f 100644
--- a/sw/uiconfig/swriter/ui/pagefooterpanel.ui
+++ b/sw/uiconfig/swriter/ui/pagefooterpanel.ui
@@ -51,6 +51,7 @@
<object class="GtkGrid" id="grid1">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="halign">center</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="border_width">6</property>
diff --git a/sw/uiconfig/swriter/ui/pageformatpanel.ui b/sw/uiconfig/swriter/ui/pageformatpanel.ui
index b1cff199f910..914ede7e80af 100644
--- a/sw/uiconfig/swriter/ui/pageformatpanel.ui
+++ b/sw/uiconfig/swriter/ui/pageformatpanel.ui
@@ -10,6 +10,7 @@
<object class="GtkGrid" id="grid1">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="halign">center</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="border_width">6</property>
diff --git a/sw/uiconfig/swriter/ui/pageheaderpanel.ui b/sw/uiconfig/swriter/ui/pageheaderpanel.ui
index 25f1c0737e04..cd4d1203acde 100644
--- a/sw/uiconfig/swriter/ui/pageheaderpanel.ui
+++ b/sw/uiconfig/swriter/ui/pageheaderpanel.ui
@@ -51,6 +51,7 @@
<object class="GtkGrid" id="grid1">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="halign">center</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="border_width">6</property>
diff --git a/sw/uiconfig/swriter/ui/pagestylespanel.ui b/sw/uiconfig/swriter/ui/pagestylespanel.ui
index af62c9be929f..44848cd932d7 100644
--- a/sw/uiconfig/swriter/ui/pagestylespanel.ui
+++ b/sw/uiconfig/swriter/ui/pagestylespanel.ui
@@ -32,12 +32,12 @@
<object class="GtkGrid" id="PageStylesPanel">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="hexpand">True</property>
- <property name="vexpand">True</property>
<child>
<object class="GtkGrid" id="grid1">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="halign">center</property>
+ <property name="margin_right">12</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="border_width">6</property>
@@ -47,7 +47,7 @@
<object class="GtkLabel" id="numberslabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="halign">end</property>
+ <property name="xalign">1</property>
<property name="label" translatable="yes">Number:</property>
</object>
<packing>
@@ -61,7 +61,7 @@
<object class="GtkLabel" id="backgroundlabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="halign">end</property>
+ <property name="xalign">1</property>
<property name="label" translatable="yes">Background:</property>
</object>
<packing>
@@ -87,7 +87,7 @@
<object class="GtkLabel" id="layoutlabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="halign">end</property>
+ <property name="xalign">1</property>
<property name="label" translatable="yes">Layout:</property>
</object>
<packing>
@@ -101,6 +101,7 @@
<object class="GtkComboBox" id="layoutbox">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="hexpand">True</property>
<property name="model">liststorePageLayout</property>
</object>
<packing>
@@ -114,7 +115,7 @@
<object class="GtkLabel" id="columnlabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="halign">end</property>
+ <property name="xalign">1</property>
<property name="label" translatable="yes">Column:</property>
</object>
<packing>