summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-09-13 16:27:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-09-14 09:53:04 +0200
commit80d3fb7ef721b5aa2de1095249557a19e3697b3b (patch)
tree7b98f9ee2cbd0f49c47a6fcabfe61ae0bc6409aa /vcl
parente30f85f5b4de09a2e9fbe7f4c4af5ca7364e96ae (diff)
gtk4: use left aligned label for GtkToggleButton with xalign
Change-Id: Ia9f4ac0132ee6eb309aefe3e43577f864d68df4a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139870 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk4/convert3to4.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/unx/gtk4/convert3to4.cxx b/vcl/unx/gtk4/convert3to4.cxx
index 415bcab3d880..272df9a5f74c 100644
--- a/vcl/unx/gtk4/convert3to4.cxx
+++ b/vcl/unx/gtk4/convert3to4.cxx
@@ -633,6 +633,7 @@ ConvertResult Convert3To4(const css::uno::Reference<css::xml::dom::XNode>& xNode
{
if (GetParentObjectType(xChild) == "GtkLinkButton"
|| GetParentObjectType(xChild) == "GtkMenuButton"
+ || GetParentObjectType(xChild) == "GtkToggleButton"
|| GetParentObjectType(xChild) == "GtkButton")
{
// TODO expand into a GtkLabel child with alignment on that instead