A.S. Posted July 29, 2014 Report Share Posted July 29, 2014 If I use 'resizable' : true users can change windows size. I can write height (minimum, maximum, default) and width (minimum, maximum, default) window. What parameter should I use to keep proportions of the window? Если я использую параметр 'resizable': true и по умолчанию пользователи могут менять размер окна в боковой панели. Я могу указать высоту (минимальную, максимальную и по умолчанию) и ширину (минимальную, максимальную и по умолчанию) окна, и пользователь может делать окно шире/выше или уже/ниже. Есть способ сохранять при этом пропорции? Чтобы, когда я делаю окно шире, оно само становилось выше. Link to comment Share on other sites More sharing options...
7twenty Posted July 31, 2014 Report Share Posted July 31, 2014 I don't think you can. At least there is nothing in the documents to say that you can. So you either set the size and set the option to false, or leave it for the user to determine the best option. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.