Height of R.A.D ComboBOX

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

    thanks
  2. Dwight
    Admin
    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,
    Evtim
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top