Window title shows ellipsis

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

    Posted 25 Jun 2014 Link to this post

    Hi
      Using the example here

    http://www.telerik.com/forums/kendo-window-appearing-absurdly-small

    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");

    thanks
  2. Dimo
    Admin
    Dimo avatar
    8333 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)

    http://docs.telerik.com/kendo-ui/getting-started/widgets#accessing-kendo-ui-widget-elements

    Regards,
    Dimo
    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