1. #1
    Sencha Premium Member
    Join Date
    Sep 2010
    Posts
    89
    Vote Rating
    0
    xun is an unknown quantity at this point

      0  

    Default Unanswered: Ext rendering width erratic?

    Unanswered: Ext rendering width erratic?


    I have a lot of trouble trying to figure how the Ext rendering mechanism works.

    For example, inside a panel I am trying to render a few datefield side by side, each has a width of 90. Somehow the panel gives me this

    <div id="tab-dash-innerCt" class="x-box-inner " role="presentation" style="height: 500px; width: 90px;">

    which essentially cut off all of my datafields other than the first one?

    This happens throughout, and i often have to comb through the complex rendering output trying to find out what the hell ...

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,918
    Answers
    655
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    See if this is what you had in mind:

    Code:
    Ext.create('Ext.form.Panel', {
        renderTo: Ext.getBody(),
        width: 400,
        layout: 'anchor',
        defaults: {
            anchor: '100%'
        },    
        bodyPadding: 10,
        fieldDefaults: {
           labelWidth: 60
        },    
        title: 'Dates',
        items: [{
            xtype: 'container',
            layout: {
                type: 'hbox',
                defaultMargins: {top: 0, right: 5, bottom: 0, left: 0}
            },    
            defaultType: 'datefield',
            items: [{
                fieldLabel: 'Date 1',
                flex: 1
            }, {
                fieldLabel: 'Date 2',
                flex: 1
            }]
        }]
    });
    Regards,
    Scott.

  3. #3
    Sencha Premium Member
    Join Date
    Sep 2010
    Posts
    89
    Vote Rating
    0
    xun is an unknown quantity at this point

      0  

    Default


    thanks. Makes a lot of sense.

Thread Participants: 1

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