EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 21, 2024, 07:26:17 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Window / Dialog size
Pages: [
1
]
« previous
next »
Print
Author
Topic: Window / Dialog size (Read 5562 times)
sky-t
Full Member
Posts: 145
Window / Dialog size
«
on:
August 31, 2017, 09:16:57 PM »
Hi there,
is there an easy way to size / resize the dialog and window to fit to the contents size?
Thanks a lot
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Window / Dialog size
«
Reply #1 on:
September 01, 2017, 12:15:37 AM »
Please set the 'height' property to 'auto'.
Code:
$('#dlg').dialog({
height: 'auto'
});
Logged
sky-t
Full Member
Posts: 145
Re: Window / Dialog size
«
Reply #2 on:
September 01, 2017, 02:23:55 AM »
Hello stworthy,
thank you for your replay.
Does this also work with the width-property?
Thanks again
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Window / Dialog size
«
Reply #3 on:
September 01, 2017, 05:18:39 AM »
No, the width can't be adjusted regarding its content.
Logged
sky-t
Full Member
Posts: 145
Re: Window / Dialog size
«
Reply #4 on:
September 01, 2017, 05:49:11 AM »
Thank you stworthy,
do you have a workaround for the width property?
Thanks
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...