jQuery UI Widgets › Forums › General Discussions › Dialogs and Notifications › Window › Window resize width not working
This topic contains 6 replies, has 3 voices, and was last updated by Stanislav 8 years, 2 months ago.
-
Author
-
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,
EricHello 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,
StanislavjQWidgets Team
http://www.jqwidgets.com/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
Hi EricK,
we solved it by setting the Width and Height property instead of using the resize function:
$(“#jqxwindow”).jqxWindow({ width: 100, height: 100})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,
StanislavjQWidgets Team
http://www.jqwidgets.com/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,
EricHello 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,
StanislavjQWidgets Team
http://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.