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

Window Maximizes a little too big

2 Answers 85 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 2
Jay asked on 17 Feb 2012, 07:42 PM
There appears to be an issue with Maximize.  When you maximize a window, the window gets taller than the actual client area.  If you are using the window like a dialog, the buttons at the bottom will actually hang off the screen, or be hidden completely.

I am using Chrome when noting this issue.  Here's an example of the problem:

http://jsfiddle.net/jkappel/kn6Ep/

On a side note, how do you set the initial top and left positions of the window?
Intuitively I would have thought top: and left: would do it, but it appears not so.

2 Answers, 1 is accepted

Sort by
0
Jay
Top achievements
Rank 2
answered on 03 Mar 2012, 02:34 AM
Just wondering if anyone else is having this problem?  Usually Kendo support is more responsive than this.

I just verified the problem still exists in Chrome, and IE9 (so I assume it exists else where also).  The new beta release does not resolve the issue either.  Any help would be appreciated.
0
Gary
Top achievements
Rank 1
answered on 18 Apr 2012, 09:06 PM
This works for me:

var kWindow = $('#window').kendoWindow({
    activate: function(){
        kWindow.wrapper.offset({top: 25, left: 25 });
    }
}).data('kendoWindow');

Tags
Window
Asked by
Jay
Top achievements
Rank 2
Answers by
Jay
Top achievements
Rank 2
Gary
Top achievements
Rank 1
Share this question
or