How can I set width and height of a Dialog Page ?
How can I set width and height of a Dialog Page ?
Hello Joni,
Please use CSS properties width and height for that.
It deffers for jqm, Ionic and Bootstrap applications. Please clarify, which of them do you use?
I am using jqm.
Strange is that in the Popup window it automatically set its with and height based on the popup windows content.
I can do that in the Dialog Page, but it seems there is a size limit for the Dialog Page. So the only alternative is to set its sizing using CSS.
CSS is only one way to change it's value.
Please look at the example below:
prediv.ui-dialog-contain{
with:100px;
max-width:100px;
height:100px;
overflow:hidden;
}/pre
Thanks Sergiy.
It seems to be a max width limit of 1024px on the dialog page. Is that correct ?
Sorry, there was a typo.
Please change prewith:100px;/pre to prewidth:100px;/pre
Thanks. I miss it also...