Kaydet (Commit) 55013f56 authored tarafından Caolán McNamara's avatar Caolán McNamara

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: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst b0548422
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment