Home Forums WinForms controls Xceed Grid for WinForms ComboBoxEditor/WinComboBox dropdown button height

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #15095 |

    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)

    User (Old forums)
    Member
    Post count: 23064

    Unfortunately, it will not be possible.

    Imported from legacy forums. Posted by André (had 2770 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.