Kaydet (Commit) 44878547 authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Xisco Faulí

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: 's avatarXisco Faulí <xiscofauli@libreoffice.org>
üst 070c1349
......@@ -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);
......
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