Hybrid View

  1. #1
    Ext User Perfect Lion's Avatar
    Join Date
    Aug 2007
    Location
    Brazil
    Posts
    79
    Vote Rating
    0
    Perfect Lion is on a distinguished road

      0  

    Default [2.2] FormPanel, labelWidth not working

    [2.2] FormPanel, labelWidth not working


    Hi staff,

    I need increase on size the label in my FormPanel, I used the config of FormPanel "labelWidth" more not working =/

    What is bug?

    ex:
    Code:
    var form = new Ext.form.FormPanel({
    	title: 'myForm'
    	, labelWidth: 100 // ex. is not working I tried 10, 20, 50, 100 is nothing =(
    	, items: [
    		{ ... }
    	]
    })

  2. #2
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    mystix will become famous soon enough

      0  

    Default


    that's not possible.

    compare your existing code with the code in examples/form/dynamic.js from the official Ext download -- i've just tried that and it works correctly.

  3. #3
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,835
    Vote Rating
    609
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Agreed, I don't see any issue here:

    Code:
    Ext.onReady(function(){
        var fp = new Ext.form.FormPanel({
            labelWidth: 120,
            renderTo: document.body,
            width: 400,
            height: 400,
            items: [{
                xtype: 'textfield',
                fieldLabel: 'F1'
            },{
                xtype: 'textfield',
                fieldLabel: 'F2'
            }]
        });
    });
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  4. #4
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    89
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Are you also setting a labelStyle?

    Ext does contain a bug that breaks hideLabels, labelAlign and labelWidth when setting labelStyle.

  5. #5
    Ext User Perfect Lion's Avatar
    Join Date
    Aug 2007
    Location
    Brazil
    Posts
    79
    Vote Rating
    0
    Perfect Lion is on a distinguished road

      0  

    Default


    I tried large 100 is work more less tha 100 not working this is normal??

  6. #6
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    mystix will become famous soon enough

      0  

    Default


    not it's not. post a full test case, and/or take note of @condor's question in post #4.

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