set a minimum size for the combobox
fixed a small bug when creating a new file (QgsProject has no instance)