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

maxWidth, can't get it to work for me

1 Answer 48 Views
Window
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 15 Aug 2012, 12:47 PM
I do the following and the "maxWidth" feature doesn't work. The width is restricted to the original width (500px) rather than the maxWidth I set. Window works fine without the maxWidth statement. Any ideas what I'm doing wrong?

<div class="container">
        <div id="window"></div>
   </div>
    
    <script>
             $(document).ready(function() {
                    var window = $("#window")

                    window.kendoWindow({

                            actions: ["Close"],
 width:"500px",
 height:"400px",
 maxWidth: "940px",
 title:"Try maxWidth"
                    }); 
                });

</script>

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 16 Aug 2012, 01:01 PM
Hi Matt,

Please use numeric values for min / max settings. We can remove this constraint in the future.

Greetings,
Dimo
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
Matt
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or