1. #1
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,062
    Vote Rating
    215
    slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of

      0  

    Default [4.1 Beta 1] Tree nodes ultra wide

    [4.1 Beta 1] Tree nodes ultra wide


    I found that in one app the tree panel has a horizontal scroll bar that's super wide. Below is a boiled down example script. I was able to reproduce the error in IE8 and FF5 from a web server.

    When I run the same from the filesystem I don't get the scrollbar. I tested with the filesystem on my other computer with FF9, IE9, and Chrome16.

    Code:
    Ext.onReady(function () {
        Ext.widget('viewport', {
            layout: 'border'
                , items: [{
                    region: 'center'
                    , dockedItems: [{
                        xtype: 'toolbar'
                        , dock: 'top'
                        , items: ['->', {
                            text: 'one'
                        }, {
                            text: 'two'
                        }, '->']
                    }]
                    , layout: 'card'
                    , items: [{
                        layout: 'border'
                        , items: [{
                            xtype: 'treepanel'
                            , region: 'west'
                            , width: 200
                            , store: Ext.create('Ext.data.TreeStore', {
                                root: {
                                    children: [{
                                        text: 'My Node'
                                        , children: [{
                                            text: 'Leaf'
                                            , leaf: true
                                        }]
                                    }]
                                }
                            })
                        }, {
                            xtype: 'tabpanel'
                            , region: 'center'
                            , items: [{
                                title: '...app/module'
                                , itemId: 'perm'
                            }]
                        }]
                    }]
                }]
        })
    })

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,062
    Vote Rating
    215
    slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of

      0  

    Default


    Here's a partial screenshot from the previous example code.


    tree_scroll_bar.PNG

  3. #3
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,062
    Vote Rating
    215
    slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of

      0