EasyUI Forum

General Category => Bug Report => Topic started by: never on July 06, 2011, 05:53:02 AM



Title: About the dialog plugin shadow problem
Post by: never on July 06, 2011, 05:53:02 AM
About the dialog plugin: I only set the dialog width, but height auto. When i click the maximize button and restore, then the vertical shadow still stay maximum only when i reopen or resize it.

Quote
<div id="dd" class="easyui-dialog" icon="icon-save" style="padding:5px;width:400px;"
 collapsible="true" minimizable="true" maximizable="true" resizable="true" inline="false">
  <div id="p" style="padding:10px;" fit="false" border="false" cache="false">   
     <p>panel content.</p>   
     <p>panel content.</p>   
  </div> 
</div>

(http://www.hiholiday.cn//CreateXML/Images/1.jpg)

**If don't set the width either, then it will apper the x-scroll bar but not automatically fit its content width.**
(http://www.hiholiday.cn//CreateXML/Images/2.jpg)

I wonder if can add two Properties like autoHeight,autoWidth to automatically fit the content height and width?