Setting Kendo drop downlist height

2 posts, 0 answers
  1. Lanto
    Lanto avatar
    8 posts
    Member since:
    Jan 2008

    Posted 14 May 2015 Link to this post

    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.
  2. Plamen Lazarov
    Admin
    Plamen Lazarov avatar
    135 posts

    Posted 18 May 2015 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
Back to Top