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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Jan 29 16:01:50 UTC 2019


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

New commits:
commit 55013f566d540b910a73d6403809cd236f75636c
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jan 29 12:43:09 2019 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jan 29 17:01:27 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/67072
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index c5b99ca92985..9365b2a30776 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -7050,7 +7050,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