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

KendoWindow does not maximize properly

1 Answer 163 Views
Window
This is a migrated thread and some comments may be shown as answers.
Ben
Top achievements
Rank 1
Ben asked on 09 May 2012, 05:58 PM
I have encountered an issue where maximizing the window will cause any content aligned to the bottom of the window to be cut off.

Please see a simple jsfiddle of the incorrect behavior: http://jsfiddle.net/jTa5C/9/

-Notice that there should be 20px of space between the edge of the window and the interior green div.  It looks correct when first running, but when you click maximize there is no longer a 20px space between the bottom of the div and the kendo window. 

Is there any way around this?

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 14 May 2012, 09:10 AM
Hello Ben,

This turned out to be a bug in the window. You can fix it by modifying the _onDocumentResize function of the window prototype:

old code: height: wnd.height()

new code: height: wnd.height() - wnd.height() - parseInt(wrapper.css("padding-top"), 10)

As a small token of our gratitude, I've updated your Telerik points. The issue will be fixed in the service pack that will be released this week.
 
Greetings,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Window
Asked by
Ben
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or