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

Why is the combobox height not the same as textbox height?

1 Answer 736 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.
Per
Top achievements
Rank 1
Per asked on 18 Jun 2009, 09:10 AM
Hi!

I'm currently creating a gui containing both rad textbox controls and rad combobox controls.

Since the combobox control does not have the same height as the textbox controls, lining them up is hard and makes the application look messy.

If you place them next to each other you will see what i meen :)
The text inside the controls is also not at the same height :(

Why?

Regards
Per Bornsjö

1 Answer, 1 is accepted

Sort by
0
Mike
Telerik team
answered on 24 Jun 2009, 06:32 AM
Hi Per,

The ComboBox and TextBox appear with different size/font and layout settings because of their built-in themes. There is a workaround for this, however I suggest you to wait for couple of weeks and try out the upcoming release where we have corrected these issues.

Here is the simplest workaround:

this.radComboBox1.ComboBoxElement.TextBoxElement.Padding = new Padding(2, 2, 2, 3);


Let me know if I can help you any further with this.

Best wishes,
Mike
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ComboBox and ListBox (obsolete as of Q2 2010)
Asked by
Per
Top achievements
Rank 1
Answers by
Mike
Telerik team
Share this question
or