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

Setting Kendo drop downlist height

1 Answer 165 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Lanto
Top achievements
Rank 1
Lanto asked on 14 May 2015, 04:22 PM
How do I set the height of a dropdown list? The out of the box height is more than 35px. I would like to set this to 20px and also have the drop down list items to be the same height.

1 Answer, 1 is accepted

Sort by
0
Plamen Lazarov
Telerik team
answered on 18 May 2015, 07:47 AM

Hello Lanto,

 

To set the height of a dropdown you need to use the height option. Please review the following article. Unfortunately there is no built in method to set the items height. However a workaround is possible. Open browser's developer tools and find the classes you need to set the height of the dropdown items. Once you have selected the right classes a custom css styles can be applied.

 

Regards,
Plamen Lazarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
DropDownList
Asked by
Lanto
Top achievements
Rank 1
Answers by
Plamen Lazarov
Telerik team
Share this question
or