Results 1 to 5 of 5

Thread: Desktop, maximized Window, tabpanel, GridPanel invalid height

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Dec 2008
    Location
    Russian
    Posts
    6
    Vote Rating
    0
      0  

    Default Desktop, maximized Window, tabpanel, GridPanel invalid height

    \ext-3.4.1\examples\desktop\sample.js
    pic1.png
    open

    pic2.png

    valid height on resize window

    pic3.png
    Attached Files Attached Files

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    9,794
    Vote Rating
    260
      0  

    Default

    Thanks for the report. I couldn't get your code to run. Can you please post a Fiddle which reproduces the issue?
    https://fiddle.sencha.com/#home


    Join me at SenchaCon 2016!

  3. #3
    Sencha User
    Join Date
    Dec 2008
    Location
    Russian
    Posts
    6
    Vote Rating
    0
      0  

    Default

    sample.zip = sample.js
    replace sample.js for

    js
    http://dev.sencha.com/deploy/ext-3.4...ktop/sample.js
    example
    http://dev.sencha.com/deploy/ext-3.4...p/desktop.html

    examples/desktop
    css\
    images\
    js\
    wallpapers\
    credits.txt
    desktop.html
    sample.js

  4. #4
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    9,794
    Vote Rating
    260
      0  

    Default

    Can you provide more details on what you mean by invalid height? I'm able to run that example, but I'm not clear on what needs to be done once the gridpanel is maximized.


    Join me at SenchaCon 2016!

  5. #5
    Sencha User
    Join Date
    Dec 2008
    Location
    Russian
    Posts
    6
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by Gary Schlosberg View Post
    Can you provide more details on what you mean by invalid height? I'm able to run that example, but I'm not clear on what needs to be done once the gridpanel is maximized.
    1. change sample.js from
    http://dev.sencha.com/deploy/ext-3.4...ktop/sample.js

    diff
    PHP Code:
    @@ -68,12 +82,17 @@
                     
    shim:false,
                     
    animCollapse:false,
                     
    constrainHeader:true,
    -
    +                
    maximizedtrue,
                     
    layout'fit',
    -                
    items:
    +                
    items: [{
    +                    
    xtype'tabpanel'
    +                    ,activeTab 0
    +                    ,borderfalse
    +                    ,items: [
                         new 
    Ext.grid.GridPanel({
    +                        
    title'tab1',
                             
    border:false,
    -                        
    ds: new Ext.data.Store({
    +                        
    dsstore = new Ext.data.Store({
                                 
    reader: new Ext.data.ArrayReader({}, [
                                    {
    name'company'},
                                    {
    name'price'type'float'},
    @@ -
    94,+113,13 @@
                                 
    forceFit:true
                             
    },
                             
    //autoExpandColumn:'company',
    +                        
    +                        
    bbar: new Ext.PagingToolbar({
    +                            
    pageSize50
    +                            ,storestore
    +                            ,displayInfotrue
    +                        }),
    +                        
     
                             
    tbar:[{
                                 
    text:'Add Something',
    @@ -
    109,+135,@@
                                 
    iconCls:'remove'
                             
    }]
                         })
    +                    ]
    +                }]
    +
                 });
             }
             
    win.show(); 
    2. after window is opened
    pic2.png

    3. after resize browser window
    pic3.png

Posting Permissions

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