summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-06-03 12:06:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-06-03 15:28:52 +0200
commite8990b36358cec3ed5123dc3a8468600c184e08d (patch)
tree6ab5f4b6e38ff8452e1c05e3a54882daa704aaab
parentbb2dc32009311ced381695a13111353dae68f8c0 (diff)
gtk4: align menubutton label to start
Change-Id: I6ea62b3b66ec18d478fcadd132b9b86387c9db48 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116658 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/unx/gtk3/gtkinst.cxx1
1 files changed, 1 insertions, 0 deletions
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);