Dropdown width not matching input field

2 posts, 0 answers
  1. Gary
    Gary avatar
    14 posts
    Member since:
    Jan 2012

    Posted 24 Apr 2012 Link to this post

    Why is it that in the demos for both DropDownList and ComboBox, the width of the dropdown matches the input field, with apparently no special action being taken, but in my usage the input field is constant at 149px while the dropdown is only wide enough to accomodate the content?

    I understand why the input field is 149px... because it's hard-code in kendo.common.css as "width: 12.4em;" but why is the dropdown width not matching?

    This is all with content being added dynamically via ajax responses.

  2. Dimo
    Admin
    Dimo avatar
    8457 posts

    Posted 27 Apr 2012 Link to this post

    Hello Gary,

    Normally the dropdown width should match the widget's width, unless specified otherwise, as in the Templates demo. Can you demonstrate the problem in a simple example?

    Kind regards,
    Dimo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top