Results 1 to 2 of 2

Thread: .setSize works for Panel, but not for it's body

  1. #1
    Sencha Premium Member
    Join Date
    Aug 2008
    Location
    USA
    Posts
    61
    Vote Rating
    1
      0  

    Default .setSize works for Panel, but not for it's body

    Hi,

    I have basic ExtJs 4 Panel and I use Resizer in runtime. The panel's div element resized properly, but not panel's body. Panel's body remains the same size. Is there a reason for such behavior?

    Thanks,
    Paul.
    Last edited by Podlipensky; 30 Apr 2012 at 10:45 AM. Reason: I use not .setSize method, but simply applying Resizer to panel's element
    My recent commitment into Sencha community:
    Star Rating Field: https://github.com/podlipensky/Ext.ux.touch.Rating
    Sencha Articles on my blog: http://podlipensky.com

  2. #2
    Sencha Premium Member
    Join Date
    Aug 2008
    Location
    USA
    Posts
    61
    Vote Rating
    1
      0  

    Default

    Resolved by setting proper SizeModel to the panel and resize body element manually.
    My recent commitment into Sencha community:
    Star Rating Field: https://github.com/podlipensky/Ext.ux.touch.Rating
    Sencha Articles on my blog: http://podlipensky.com

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •