This is a migrated thread and some comments may be shown as answers.

Height of R.A.D ComboBOX

1 Answer 108 Views
ComboBox and ListBox (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ranka
Top achievements
Rank 1
Ranka asked on 12 Jul 2007, 06:43 AM
Hi All ,

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

thanks

1 Answer, 1 is accepted

Sort by
0
Dwight
Telerik team
answered on 12 Jul 2007, 01:11 PM
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
Tags
ComboBox and ListBox (obsolete as of Q2 2010)
Asked by
Ranka
Top achievements
Rank 1
Answers by
Dwight
Telerik team
Share this question
or