[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - vcl/unx

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Jan 30 10:36:27 UTC 2019


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

New commits:
commit 448785475db22b8fa32ab4af2b165bb4d26e737b
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jan 29 12:43:09 2019 +0000
Commit:     Xisco Faulí <xiscofauli at libreoffice.org>
CommitDate: Wed Jan 30 11:36:02 2019 +0100

    tdf#123031 allow natural cell width if the combobox contents are >= request
    
    which matters in at least gtk 3.19
    
    Change-Id: I760e46d02f2678842a685aa077bd0129520a3263
    Reviewed-on: https://gerrit.libreoffice.org/67074
    Tested-by: Jenkins
    Reviewed-by: Xisco Faulí <xiscofauli at libreoffice.org>

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index ed29dc28be65..3c1c8ece9281 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -6943,7 +6943,7 @@ public:
         else
         {
             g_object_set(G_OBJECT(m_pTextRenderer), "ellipsize", PANGO_ELLIPSIZE_NONE, nullptr);
-            gtk_cell_renderer_set_fixed_size(cell, size.width, size.height);
+            gtk_cell_renderer_set_fixed_size(cell, -1, size.height);
         }
         g_list_free(cells);
 


More information about the Libreoffice-commits mailing list