Hi folks,
I’m having trouble setting the ComboBoxEditor dropdown button height. I have a GridControl that uses a ComboBoxEditor in one of the columns. The height of the rows is variable. By default the combo box dropdown button scales in height to fit the row height, which produces an unattractive tall and narrow button in rows that are several lines of text high. I would like the button to be a fixed height – the height of one line of text (though the text area of the editor should still fit the height of the row). Setting the ComboBoxEditor’s TemplateControl.DropDownButton.AutoSizeMode to ScrollBarWidthAndHeight almost does what I want except the height is too large for the minimum row height and the button is truncated. I don’t want to increase the row height. Is there some way to set a fixed button height in this case?
Thanks for your assistance,
Richard
Imported from legacy forums. Posted by Richard (had 1793 views)