summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-01-21 14:35:21 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-01-21 17:30:38 +0100
commitc7c5f662ea3661f0cfe8534af235aa76dc4ef63a (patch)
tree5abe40d7b8a18a22b66616661c4fa8b2f0f18adf
parentfadb53a393b52eb4c9336fa8c9c780b4d6b3e391 (diff)
gtk4: set homogeneous to true to get two equal width buttons
Change-Id: Iff8c9579bbb4758c2bb13b946fafcaf3b9433a84 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128735 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sc/uiconfig/scalc/ui/filterdropdown.ui1
-rw-r--r--vcl/unx/gtk4/convert3to4.cxx7
2 files changed, 1 insertions, 7 deletions
diff --git a/sc/uiconfig/scalc/ui/filterdropdown.ui b/sc/uiconfig/scalc/ui/filterdropdown.ui
index a6ca98f9169a..8e0c01748e33 100644
--- a/sc/uiconfig/scalc/ui/filterdropdown.ui
+++ b/sc/uiconfig/scalc/ui/filterdropdown.ui
@@ -355,6 +355,7 @@
<property name="can-focus">False</property>
<property name="no-show-all">True</property>
<property name="spacing">6</property>
+ <property name="homogeneous">True</property>
<property name="layout-style">spread</property>
<child>
<object class="GtkButton" id="ok">
diff --git a/vcl/unx/gtk4/convert3to4.cxx b/vcl/unx/gtk4/convert3to4.cxx
index ec362aea71b5..3a2e28587546 100644
--- a/vcl/unx/gtk4/convert3to4.cxx
+++ b/vcl/unx/gtk4/convert3to4.cxx
@@ -551,13 +551,6 @@ ConvertResult Convert3To4(const css::uno::Reference<css::xml::dom::XNode>& xNode
xRemoveList.push_back(xChild);
}
- if (sName == "homogeneous")
- {
- // e.g. the buttonbox in xml filter dialog
- if (GetParentObjectType(xChild) == "GtkButtonBox")
- xRemoveList.push_back(xChild);
- }
-
if (sName == "shadow-type")
{
if (GetParentObjectType(xChild) == "GtkFrame")