protected override int GetMinimumHeight() { // Return the ComboBox preferred height, plus a few pixels. return combobox.PreferredHeight + 2; }