[CLOSED] [2.0] Window AutoHeight problem.

  1. #1

    [CLOSED] [2.0] Window AutoHeight problem.

    Attached Thumbnails Click image for larger version. 

Name:	autoheightProblem.png 
Views:	35 
Size:	3.7 KB 
ID:	4574  
    Last edited by Daniil; Aug 07, 2012 at 2:55 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Window doesn't support stretching for its content.

    Additionally, the AutoHeight property has been removed on ExtJS side at all. As far as I can understand if no explicit Height and an item is out of any layout, auto height will be applied automatically.

    In your case, I can suggest the following solution.
    http://forums.ext.net/showthread.php...ll=1#post74694
  3. #3

    AutoHeight not applied automatically

    Attached Thumbnails Click image for larger version. 

Name:	wndNotAutoHeighing.png 
Views:	30 
Size:	3.8 KB 
ID:	4576  
  4. #4
    Agree, there should be a simpler solution. And that is it:
    BodyStyle="height: auto;"
    And it's the same as AutoHeight was.

    But there is an issue in Ext.NET - a Window is rendered with default "height: 100;" which overrides BodyStyle.

    For now I can suggest the following workaround.
    <ext:Window runat="server" BodyStyle="height: auto;" XHeight="undefined" />
    We are investigating a possible fix.
  5. #5

    Works perfectly

    It works perfectly, Thanks!
  6. #6
    After updating from SVN 2.1 branch you can remove:
    XHeight="undefined"
    Thanks for the question. It is pushed us to discover an issue.
  7. #7
    Quote Originally Posted by Daniil View Post
    As far as I can understand if no explicit Height and an item is out of any layout, auto height will be applied automatically
    I think it's actual for GridPanel only.

Similar Threads

  1. Replies: 1
    Last Post: Sep 20, 2011, 9:42 AM
  2. Window Height, AutoHeight, Max-MinHeight Autoscroll
    By rthiney in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 06, 2010, 1:56 PM
  3. [CLOSED] Textbox AutoHeight problem
    By CMA in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Oct 29, 2009, 9:22 AM
  4. GridPanel autoHeight problem
    By salihb in forum Bugs
    Replies: 0
    Last Post: Aug 25, 2009, 3:16 AM
  5. [CLOSED] TabPanel AutoHeight IE Problem not in Firefox
    By GmServizi in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 03, 2009, 8:10 AM

Tags for this Thread

Posting Permissions