jQWidgets Forums

jQuery UI Widgets Forums Dialogs and Notifications Window Window resize width not working

Tagged: ,

This topic contains 6 replies, has 3 voices, and was last updated by  Stanislav 7 years ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • Window resize width not working #99236

    EricK
    Participant

    Hello all,
    The demo resize does not resize width. Your example from the api reference.
    http://jsfiddle.net/jqwidgets/tzwQX/

    If you resize the window with your mouse and then click the resize button it works fine.

    Shouldn’t the window resize by only clicking the resize the window button.

    Thanks,
    Eric

    Window resize width not working #99239

    Stanislav
    Participant

    Hello Eric,

    For me it resizes fine.

    Actually, it resizes twice:
    1) once it resizes only the height
    2) it resizes to the width/height that it was set to resize to.

    Can you please provide some more information on your case, for now, I see no problem.

    Best Regards,
    Stanislav

    jQWidgets Team
    http://www.jqwidgets.com/

    Window resize width not working #99242

    EricK
    Participant

    Stanislav,
    I would expect the window to resize both width and height with one click on the button.
    If I code the window to resize it. I would think it should resize with one line of code.
    So, I have to call the resize twice to get my results?

    Is there a way to get the window to resize with one line of code?

    Eric

    Window resize width not working #99259

    Gat
    Participant

    Hi EricK,

    we solved it by setting the Width and Height property instead of using the resize function:
    $(“#jqxwindow”).jqxWindow({ width: 100, height: 100})

    Window resize width not working #99260

    Stanislav
    Participant

    Hello Gat & Eric,

    You can set the width and height of the window on load, but dynamically changing them, seems to have an issue.
    We took a closer look at it, and a fix should be out in the next update.

    For now, you can use this workaround that Gat pointed out: Example
    Sorry for this inconvenience!

    Best Regards,
    Stanislav

    jQWidgets Team
    http://www.jqwidgets.com/

    Window resize width not working #99265

    EricK
    Participant

    Gat,
    Thank you for your answer. I finally figured that one out, but was not sure if it would cause issues.
    Glad that others offer assistance and recognize those minor details.

    Hope the JQW team will render a solution on the next update.

    Thanks again,
    Eric

    Window resize width not working #99267

    Stanislav
    Participant

    Hello Eric,

    This is the main reason for the forum, to have other users communicate and work on solutions together!

    We will work on a fix, it should be out by the next update in the very near future.

    Best Regards,
    Stanislav

    jQWidgets Team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.