summaryrefslogtreecommitdiff
path: root/cui/uiconfig/ui/acorreplacepage.ui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-09-30 14:18:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-10-01 09:53:15 +0200
commitf6a2b24ce17293043f7ddbed0bc218264be6487d (patch)
tree97b819d25187df55de268e0ff301bbd418e6f114 /cui/uiconfig/ui/acorreplacepage.ui
parente6e14b2cafd24179f8675350749878da77a31443 (diff)
autocorrect dialog width grows on change of new to replace
the sizegroup isn't working as I'd expect, so just make the replace button visible, get the preferred width of the buttonbox, lock that down then hide the place button and the container will stay at the max width that will be wanted Change-Id: Idfe632aa5af404abb92fc8f7267f0dda5cdbe295 Reviewed-on: https://gerrit.libreoffice.org/79862 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/uiconfig/ui/acorreplacepage.ui')
-rw-r--r--cui/uiconfig/ui/acorreplacepage.ui11
1 files changed, 2 insertions, 9 deletions
diff --git a/cui/uiconfig/ui/acorreplacepage.ui b/cui/uiconfig/ui/acorreplacepage.ui
index 36808eb4ec4d..b099bf079991 100644
--- a/cui/uiconfig/ui/acorreplacepage.ui
+++ b/cui/uiconfig/ui/acorreplacepage.ui
@@ -21,12 +21,11 @@
<property name="row_spacing">6</property>
<property name="column_spacing">12</property>
<child>
- <object class="GtkButtonBox" id="buttonbox1">
+ <object class="GtkBox" id="buttonbox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">12</property>
- <property name="layout_style">start</property>
<child>
<object class="GtkButton" id="new">
<property name="label">gtk-new</property>
@@ -45,6 +44,7 @@
<child>
<object class="GtkButton" id="replace">
<property name="label" translatable="yes" context="acorreplacepage|replace">_Replace</property>
+ <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="no_show_all">True</property>
@@ -233,11 +233,4 @@
<placeholder/>
</child>
</object>
- <object class="GtkSizeGroup" id="sizegroup1">
- <widgets>
- <widget name="new"/>
- <widget name="replace"/>
- <widget name="delete"/>
- </widgets>
- </object>
</interface>