vcl/unx/gtk4/convert3to4.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 80d3fb7ef721b5aa2de1095249557a19e3697b3b
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Tue Sep 13 16:27:15 2022 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Wed Sep 14 09:53:04 2022 +0200

    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 <caol...@redhat.com>

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

Reply via email to