diff --git a/src/ui/widget/combo-box-entry-tool-item.cpp b/src/ui/widget/combo-box-entry-tool-item.cpp index 9bce9ce91b428695713d7816e58e2d0e9e174c1e..24f424e71be446f3c5c14c1447279d549cf27a0f 100644 --- a/src/ui/widget/combo-box-entry-tool-item.cpp +++ b/src/ui/widget/combo-box-entry-tool-item.cpp @@ -124,7 +124,7 @@ ComboBoxEntryToolItem::ComboBoxEntryToolItem(Glib::ustring name, gtk_cell_layout_clear( GTK_CELL_LAYOUT( comboBoxEntry ) ); gtk_cell_layout_pack_start( GTK_CELL_LAYOUT( comboBoxEntry ), _cell, true ); gtk_cell_layout_set_cell_data_func (GTK_CELL_LAYOUT( comboBoxEntry ), _cell, - GtkCellLayoutDataFunc (_cell_data_func), 0, nullptr ); + GtkCellLayoutDataFunc (_cell_data_func), total < 400 ? comboBoxEntry : 0, nullptr ); } // Optionally widen the combobox width... which widens the drop-down list in list mode.