1. #1
    Sencha User emredagli's Avatar
    Join Date
    Jun 2008
    Posts
    301
    Vote Rating
    2
    emredagli is on a distinguished road

      0  

    Default combo - combobox renderring problem in accordion panel

    combo - combobox renderring problem in accordion panel


    Hii,
    I am using combobox in a accordion panel (Ext3.0). But it is rendered as following:

    Related The code is:
    Code:
    {
                    title: 'User Settings',
                    id: 'UserSettingsPanel',
                    hideMode:'display',
                    layout:'form',
                    defaultType:'checkbox',
                    labelWidth:40,
                    items:[{
                        xtype:'checkbox',
                        id:'bak',
                        fieldLabel:'selam',
                        boxLabel:'merhaba'
                    },{
                        xtype:'textfield',
                        id:'bak2',
                        fieldLabel:'selam',
                    },{
                        id: 'comboPixelPercentLeftColumnWidth', 
                        xtype: 'combo',
                        fieldLabel:'selam',
                        editable: false,
                        hideMode:'offsets',
                        store: storePixelPercent,
                        displayField: 'text',
                        typeAhead: true,
                        triggerAction: 'all',
                        mode: 'local',
                        valueField: 'value',
                        value: 0,
                        width: 70, //fieldWidthWithSpace - 55,
                        forceSelection: true,
                    }]
                }
    I try all hideMode options but It is not solved.

    Thanks.

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,501
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Start expanded and then collapse it after the combo has been rendered

  3. #3
    Sencha User
    Join Date
    Jan 2008
    Location
    Toronto, Canada
    Posts
    480
    Vote Rating
    4
    elishnevsky is on a distinguished road

      0  

    Default


    Quote Originally Posted by Animal View Post
    Start expanded and then collapse it after the combo has been rendered
    Is it a bug in 3.0?

  4. #4
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,501
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    It's a long long standing problem with rendering in collapsed BoxComponents.

    Collapsing uses display:none, and rendering things in display:none Containers doesn't work.

    If you hunt around, you might be able to find Condor's suggested code which defers layouting until first expand/show.

  5. #5

  6. #6
    Sencha User
    Join Date
    Jan 2008
    Location
    Toronto, Canada
    Posts
    480
    Vote Rating
    4
    elishnevsky is on a distinguished road

      0  

    Default


    Quote Originally Posted by Animal View Post
    Thanks!

  7. #7
    Sencha User emredagli's Avatar
    Join Date
    Jun 2008
    Posts
    301
    Vote Rating
    2
    emredagli is on a distinguished road

      0  

    Default


    Thanks Mr. Animal,
    Problem is solved by using Condor's patch:
    http://extjs.com/forum/showthread.php?t=62178

    Actually,
    I wonder, Is there a list of these patches?

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi