summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorandreas kainz <kainz.a@gmail.com>2019-10-22 22:59:29 +0200
committerandreas_kainz <kainz.a@gmail.com>2019-10-23 09:40:30 +0200
commitcdae02b49d687ee3b64caae686e680f9ee5bbc27 (patch)
treeae76ea56cf6a3c853bb9fa8c6c5c5bc27e8fabe0 /sfx2
parent2af494822da31ccadfc96f59d61493cae63d60d7 (diff)
remove hardcoded alignment elements from addtargetdialog
Change-Id: I0c4536a61859e1f0ca3948c58407bdb28dd3bc66 Reviewed-on: https://gerrit.libreoffice.org/81351 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/uiconfig/ui/addtargetdialog.ui30
1 files changed, 14 insertions, 16 deletions
diff --git a/sfx2/uiconfig/ui/addtargetdialog.ui b/sfx2/uiconfig/ui/addtargetdialog.ui
index d4283222fb65..7163543f0a4a 100644
--- a/sfx2/uiconfig/ui/addtargetdialog.ui
+++ b/sfx2/uiconfig/ui/addtargetdialog.ui
@@ -21,8 +21,9 @@
<property name="orientation">vertical</property>
<property name="spacing">12</property>
<child internal-child="action_area">
- <object class="GtkButtonBox">
+ <object class="GtkButtonBox" id="dialog-action_area">
<property name="can_focus">False</property>
+ <property name="layout_style">end</property>
<child>
<object class="GtkButton" id="close">
<property name="label">gtk-ok</property>
@@ -34,7 +35,6 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="pack_type">end</property>
<property name="position">0</property>
</packing>
</child>
@@ -49,8 +49,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
+ <property name="position">1</property>
</packing>
</child>
<child>
@@ -64,21 +63,24 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">1</property>
+ <property name="position">2</property>
<property name="secondary">True</property>
</packing>
</child>
</object>
<packing>
- <property name="expand">True</property>
+ <property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">5</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="row_spacing">6</property>
+ <property name="column_spacing">12</property>
<child>
<object class="GtkLabel" id="label_name">
<property name="visible">True</property>
@@ -98,8 +100,7 @@
<object class="GtkEntry" id="name">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="margin_left">2</property>
- <property name="margin_bottom">2</property>
+ <property name="hexpand">True</property>
<property name="activates_default">True</property>
<accessibility>
<relation type="labelled-by" target="label_name"/>
@@ -144,8 +145,7 @@
<object class="GtkEntry" id="content">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="margin_left">2</property>
- <property name="margin_bottom">2</property>
+ <property name="hexpand">True</property>
<property name="activates_default">True</property>
<accessibility>
<relation type="labelled-by" target="label_content"/>
@@ -160,8 +160,7 @@
<object class="GtkComboBoxText" id="type">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">2</property>
- <property name="margin_bottom">2</property>
+ <property name="hexpand">True</property>
<property name="active">0</property>
<items>
<item id="text" translatable="yes" context="addtargetdialog|type">Text</item>
@@ -196,7 +195,7 @@
<object class="GtkComboBoxText" id="content_predef">
<property name="sensitive">False</property>
<property name="can_focus">False</property>
- <property name="margin_left">2</property>
+ <property name="hexpand">True</property>
<property name="active">0</property>
<items>
<item id="creditcard" translatable="yes" context="addtargetdialog|content_predef">Credit card numbers</item>
@@ -226,13 +225,13 @@
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="spacing">12</property>
<child>
<object class="GtkCheckButton" id="checkboxCaseSensitive">
<property name="label" translatable="yes" context="addtargetdialog|checkboxCaseSensitive">Case Sensitive</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="halign">start</property>
<property name="use_underline">True</property>
<property name="draw_indicator">True</property>
</object>
@@ -248,7 +247,6 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="halign">start</property>
<property name="use_underline">True</property>
<property name="draw_indicator">True</property>
</object>