[Libreoffice-commits] core.git: vcl/unx

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri May 14 07:57:21 UTC 2021


 vcl/unx/gtk3/gtkinst.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 6a3989b74a9fbdae5a9e60328a969a9e2cf55350
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu May 13 21:00:41 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri May 14 09:56:29 2021 +0200

    gtk4: add margins to ButtonBox replacement
    
    Change-Id: I635fb7251f1a2f2c7c5caadc90d029f1fd50b9ae
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115573
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx
index f9294c6b9be7..960ad2bc0519 100644
--- a/vcl/unx/gtk3/gtkinst.cxx
+++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -17640,6 +17640,10 @@ void ConvertTree(const Reference<css::xml::dom::XNode>& xNode)
                         xChild->insertBefore(xSpacingNode, xFirstChild);
                     else
                         xChild->appendChild(xSpacingNode);
+
+                    xChild->insertBefore(CreateProperty(xDoc, "margin-bottom", "6"), xSpacingNode);
+                    xChild->insertBefore(CreateProperty(xDoc, "margin-start", "6"), xSpacingNode);
+                    xChild->insertBefore(CreateProperty(xDoc, "margin-end", "6"), xSpacingNode);
                 }
             }
         }


More information about the Libreoffice-commits mailing list