Window title shows ellipsis

2 posts, 0 answers
  1. Anthony
    Anthony avatar
    126 posts
    Member since:
    Jun 2013

    Posted 25 Jun 2014 Link to this post

      Using the example here

    If you change the content of the window then the window seems to size itself accordingly. If you set a title like below then it only shows so much before showing an ellipsis. Is this a bug/feature or is there some property which says to size itself according to the minimum size of the content or title?

    var wnd = $("#window").kendoWindow({ visible: false, title: "abcdefghijk" }).data("kendoWindow");

  2. Dimo
    Dimo avatar
    8474 posts

    Posted 26 Jun 2014 Link to this post

    Hi Anthony,

    The Kendo UI Window size can depend on its content, but not on its title. Theoretically, you can measure the title length and set the Window size accordingly manually. Use the scrollWidth DOM property of the span.k-window-title element and set a width to the Window wrapper (div.k-window element)

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