summaryrefslogtreecommitdiff
path: root/sw/uiconfig/swriter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-01-23 09:42:12 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-01-23 12:23:15 +0100
commit96da91726c498d0cab06e2df2932a90415e5c6cf (patch)
treed58281b9b33c4508d5208fffa4be958a17b6dd64 /sw/uiconfig/swriter
parentd8e31a35931de18bf71591ef84ac72f50bd73ef6 (diff)
Resolves: tdf#122480 make style dialogs take their optimal size
and let them resize given that they add/remove tabs depending on the language settings. Leaving them unresizable will result in them too large on switching from ctl+cjk to without Change-Id: I56027b1c737822d170416ff4e2497745cb3889ff Reviewed-on: https://gerrit.libreoffice.org/66779 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/uiconfig/swriter')
-rw-r--r--sw/uiconfig/swriter/ui/templatedialog1.ui3
-rw-r--r--sw/uiconfig/swriter/ui/templatedialog16.ui3
-rw-r--r--sw/uiconfig/swriter/ui/templatedialog2.ui3
-rw-r--r--sw/uiconfig/swriter/ui/templatedialog4.ui3
4 files changed, 8 insertions, 4 deletions
diff --git a/sw/uiconfig/swriter/ui/templatedialog1.ui b/sw/uiconfig/swriter/ui/templatedialog1.ui
index 8877434470a5..3112d91b9e6a 100644
--- a/sw/uiconfig/swriter/ui/templatedialog1.ui
+++ b/sw/uiconfig/swriter/ui/templatedialog1.ui
@@ -6,8 +6,9 @@
<property name="can_focus">False</property>
<property name="border_width">6</property>
<property name="title" translatable="yes" context="templatedialog1|TemplateDialog1">Character Style</property>
- <property name="resizable">False</property>
<property name="modal">True</property>
+ <property name="default_width">0</property>
+ <property name="default_height">0</property>
<property name="type_hint">dialog</property>
<child>
<placeholder/>
diff --git a/sw/uiconfig/swriter/ui/templatedialog16.ui b/sw/uiconfig/swriter/ui/templatedialog16.ui
index 1677774525f9..0945d9162529 100644
--- a/sw/uiconfig/swriter/ui/templatedialog16.ui
+++ b/sw/uiconfig/swriter/ui/templatedialog16.ui
@@ -6,8 +6,9 @@
<property name="can_focus">False</property>
<property name="border_width">6</property>
<property name="title" translatable="yes" context="templatedialog16|TemplateDialog16">Numbering Style</property>
- <property name="resizable">False</property>
<property name="modal">True</property>
+ <property name="default_width">0</property>
+ <property name="default_height">0</property>
<property name="type_hint">dialog</property>
<child>
<placeholder/>
diff --git a/sw/uiconfig/swriter/ui/templatedialog2.ui b/sw/uiconfig/swriter/ui/templatedialog2.ui
index 336cc1557b96..d92188199227 100644
--- a/sw/uiconfig/swriter/ui/templatedialog2.ui
+++ b/sw/uiconfig/swriter/ui/templatedialog2.ui
@@ -6,8 +6,9 @@
<property name="can_focus">False</property>
<property name="border_width">6</property>
<property name="title" translatable="yes" context="templatedialog2|TemplateDialog2">Paragraph Style</property>
- <property name="resizable">False</property>
<property name="modal">True</property>
+ <property name="default_width">0</property>
+ <property name="default_height">0</property>
<property name="type_hint">dialog</property>
<child>
<placeholder/>
diff --git a/sw/uiconfig/swriter/ui/templatedialog4.ui b/sw/uiconfig/swriter/ui/templatedialog4.ui
index c73bc5e71b5f..79a42edac3f2 100644
--- a/sw/uiconfig/swriter/ui/templatedialog4.ui
+++ b/sw/uiconfig/swriter/ui/templatedialog4.ui
@@ -6,8 +6,9 @@
<property name="can_focus">False</property>
<property name="border_width">6</property>
<property name="title" translatable="yes" context="templatedialog4|TemplateDialog4">Frame Style</property>
- <property name="resizable">False</property>
<property name="modal">True</property>
+ <property name="default_width">0</property>
+ <property name="default_height">0</property>
<property name="type_hint">dialog</property>
<child>
<placeholder/>