Width/height in em

2 posts, 1 answers
  1. Matjaž
    Matjaž avatar
    87 posts
    Member since:
    Jul 2015

    Posted 29 Aug 2016 Link to this post

    I need to set width/height in em. How can I do it?
  2. Answer
    Ianko avatar
    1938 posts

    Posted 30 Aug 2016 Link to this post

    Hello Matjaž,


    The width option of Kendo Window supports only pixel and percent values.


    If you want the initial size to be set in em you should can do that with a single line of JavaScript:




    The same applies for the height option of Kendo Window.


    Telerik by Progress
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Back to Top