Height of R.A.D ComboBOX

Thread is closed for posting
2 posts, 0 answers
  1. Ranka
    Ranka avatar
    1 posts
    Member since:
    Jul 2007

    Posted 12 Jul 2007 Link to this post

    Hi All ,

    I am not able to make my rad Combobox heing small in height can any one help

  2. Dwight
    Dwight avatar
    475 posts

    Posted 12 Jul 2007 Link to this post

    Hello Rankawat,

    By default the ComboBox is with AutoSize = true which means that the height of the ComboBox is determined by the size of the font that is used (see property Font). In this mode only the width can be set.

    If you wish to set arbitrary size first set AutoSize to false. Know that in case you shrink the size of the combo the text and button will be just clipped.

    To have correct height, better use AutoSize = true and remove the vertical Paddings of RadTextElement (in design-time from the Combo's ActionList click on "Edit UI elements" and select in the tree RadTextBoxElement).
    If you wish even smaller ComboBox just use smaller font (set it for the control - from the property grid in VisualStudio).

    Hope that helps.

    Kind regards,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top