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

New commits:
commit e8990b36358cec3ed5123dc3a8468600c184e08d
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Thu Jun 3 12:06:22 2021 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Jun 3 15:28:52 2021 +0200

    gtk4: align menubutton label to start
    
    Change-Id: I6ea62b3b66ec18d478fcadd132b9b86387c9db48
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116658
    Tested-by: Caolán McNamara <caol...@redhat.com>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx
index 63de45bf27bd..034dc5dda631 100644
--- a/vcl/unx/gtk3/gtkinst.cxx
+++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -9686,6 +9686,7 @@ public:
 #if !GTK_CHECK_VERSION(4, 0, 0)
         gtk_box_pack_start(pBox, pLabel, true, true, 0);
 #else
+        gtk_widget_set_halign(pLabel, GTK_ALIGN_START);
         gtk_box_prepend(pBox, pLabel);
 #endif
         g_object_unref(pLabel);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to