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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon Jul 20 18:39:25 UTC 2020


 vcl/unx/gtk3/gtk3gtkinst.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c39621e557df334edaf5fcc0321f223e6a4e35d2
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Jul 20 12:03:00 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Jul 20 20:38:38 2020 +0200

    set fill to true for label widget of GtkMenuButton
    
    which centers the icon of the calendar menubutton for the data browser data
    field
    
    Change-Id: I5c5c2f93f9994dc3f93a1018e7d71574ec139571
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99043
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 7cf389b846b7..f8fbcb1a9fee 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -7300,7 +7300,7 @@ public:
         gtk_style_context_get_style(pContext, "image-spacing", &nImageSpacing, nullptr);
         m_pBox = GTK_BOX(gtk_box_new(GTK_ORIENTATION_HORIZONTAL, nImageSpacing));
 
-        gtk_box_pack_start(m_pBox, m_pLabel, false, false, 0);
+        gtk_box_pack_start(m_pBox, m_pLabel, true, false, 0);
         g_object_unref(m_pLabel);
 
         if (gtk_toggle_button_get_mode(GTK_TOGGLE_BUTTON(m_pMenuButton)))


More information about the Libreoffice-commits mailing list