I used kendo window with my application and I notice that when I resize the browser to smaller size, kendo window overflows. I have set my kendo window size to 1200. How can I make my kendo window responsive?
3 Answers, 1 is accepted
0
Ivan Zhekov
Telerik team
answered on 08 Sep 2017, 03:35 PM
Hi, Dominique.
You can achieve the request functionality in one of two ways:
1) either set max width property
2) add a class name and control it precisely
I have already solved this issue by setting the width to percent but I do have another problem, how do I keep the window center every time the browser resizes?
0
Ivan Zhekov
Telerik team
answered on 13 Sep 2017, 07:35 AM
You can hook to the window resize event and reposition the window every time with the center() method:
Note how the window is not immediately re-positioned, but there is a little delay. That's deliberate and the idea is not to perform excess calculations should the window be resized within the next 100 milliseconds ( or 0.1 seconds). You can customize the delay by changing 100 to a more suitable value.