Hi all!
It's my first time here because I've just began with C#.
I'm doing a layout study for the forms I'll use in my application and I use controlos in flat style.
I've the problem when I use a texbox wiht font size 8, the control has a heigt of 14.
Using a combobox with the same font, gives me a height of 21. Changing the height in the designer or in the code, doesn't change.
What can I do to have them the same height
Thanks for help
Jorg

Height of controls
mognog
For the TextBox that's true, but I have no property Multiline in the Combobox class.
I still have the problem that I can't set the heigth of a combobox.
Thanks for other suggestions!
John Woodiwiss
Why would you want to change the height of a combobox It would look ugly :)
I suggest you use a listbox instead.
lkshikoh
J Hallam
In your WinForms application, for a textbox, if you have the MultiLine property set to false, then the height will be dictated by the size of the font. Same with the ComboBox.
Consider using a Rich Text Box, as it doesn't impose this limitation, even with the Multiline property set to false.