This is a migrated thread and some comments may be shown as answers.

How to set the height dynamically

1 Answer 203 Views
Window
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 12 Dec 2013, 03:59 PM
I have found numerous Google threads on this, but absolutely nothing works.  I just want to open a window to a maximum 80% the browser height.  That's it.  I don't want to specify a size in pixels.  That doesn't do any good for multiple devices.

So the height should be auto sized, but up to a max size of 80% the browser window at the time of when the kendo window opened.  Is this not possible?

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 13 Dec 2013, 09:46 AM
Hello Paul,

I suppose you need something like this:

http://jsfiddle.net/dimodi/pCt4h/

You may have hoped that a CSS-only solution is possible to implement, but this is not the case, due to the Kendo UI Window's HTML structure and defaut styling.

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Window
Asked by
Paul
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or