[CLOSED] Get dynanic width and height values from ext panel with layout fit

  1. #1

    [CLOSED] Get dynanic width and height values from ext panel with layout fit

    Hi, i have a graph control inside of ext panel control. My panel control has a fit layout property. and i need to pass to grah control width and heigth values of my panel in order to the graph control cover all area of a panel.

    Is there a way to get this dynamic values (width and height) of my panel from javascript???
    Last edited by geoffrey.mcgill; Feb 18, 2011 at 10:01 PM. Reason: [CLOSED]
  2. #2
    Quote Originally Posted by caha76 View Post
    Is there a way to get this dynamic values (width and height) of my panel from javascript???
    Example

    Panel1.getWidth();
    Panel1.getHeight();
    
    or,
    
    Panel1.getSize(); // return width/height object
    Hope this helps.
    Geoffrey McGill
    Founder
  3. #3
    More information regarding the function outlined about is available in the client-side docs, see

    http://dev.sencha.com/deploy/dev/doc...ember=getWidth
    Geoffrey McGill
    Founder

Similar Threads

  1. [CLOSED] Auto width/height not working for my layout
    By jmcantrell in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Apr 26, 2012, 10:10 PM
  2. Replies: 1
    Last Post: Sep 22, 2011, 11:38 AM
  3. Replies: 15
    Last Post: Jul 19, 2010, 10:15 PM
  4. Replies: 1
    Last Post: May 28, 2010, 6:52 AM
  5. [CLOSED] Struggling with Layout Height/Width
    By randy85253 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 15, 2009, 12:37 PM

Tags for this Thread

Posting Permissions