jQuery UI Widgets Forums Dialogs and Notifications Window Why is the window (=div) size limited?

This topic contains 2 replies, has 2 voices, and was last updated by  Peter Stoev 13 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Why is the window (=div) size limited? #3060

    Dror Saddan
    Member

    I created several  jqxWindow windows. When I try to change their size they are limited to about 600 X 800 pixels. I declare:

    $("#mainWindow").jqxWindow({ height: 900, width: 1100, theme: 'summer', showCollapseButton: true });

    But the window is limited to 600 x 800. You can see the hard-coded settings here:

    <div id="invoicesList" class="jqx-rc-all jqx-rc-all-summer jqx-window jqx-window-summer" tabindex="0" 
    hidefocus="true" style="outline-style: none; outline-width: initial; outline-color: initial; 
    width: 800px; height: 520px; min-height: 50px; 
    max-height: 600px; min-width: 100px; 
    max-width: 800px; 
    top: 236.5px; left: 559px; visibility: visible; z-index: 902; ">
    <div class="jqx-resize" style="z-index: 8000; height: 520px; width: 800px; cursor: default; ">
                    <iframe src="InvoicesList.htm" frameborder="0" height="700" width="1000"></iframe> ...

    Why is this? What can be done to get a “Window” to fill the browser’s screen?

    Thanks,

    Dror

    Why is the window (=div) size limited? #3064

    Dror Saddan
    Member

    Well, when all fails there is only one solution. Namely: RTFM …

    maxHeight Number/String 600
    Gets or sets window’s maximum height.

    Code examples

    Initialize a jqxWindow with the maxHeight property specified.

    $(‘#jqxWindow’).jqxWindow({ maxHeight: 1000 });

    $(document).ready(function () {
    $(“#mainWindow”).jqxWindow({ height: 624, maxHeight: 630, width: 860, maxWidth: 860, theme: ‘summer’, showCollapseButton: true });

    Dror

    Why is the window (=div) size limited? #3072

    Peter Stoev
    Keymaster

    Hi Dror,

    Yes, the maxWidth, minWidth, maxHeight and minHeight properties are used to restrict the jqxWindow’s resizing.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.