vcl/unx/gtk3/gtkinst.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 6a3989b74a9fbdae5a9e60328a969a9e2cf55350
Author: Caolán McNamara <[email protected]>
AuthorDate: Thu May 13 21:00:41 2021 +0100
Commit: Caolán McNamara <[email protected]>
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 <[email protected]>
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);
}
}
}
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits