Hybrid View

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    73
    Vote Rating
    -1
    bstras21 is an unknown quantity at this point

      0  

    Default labelAlign not working

    labelAlign not working


    I just switched to sencha touch pr2 and labelAlign:top does not seem to work anymore.

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    18
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report. We are already aware of the issue.

    Sencha Inc

    Jamie Avins

    @jamieavins

  3. #3
    Sencha Premium Member
    Join Date
    Oct 2011
    Location
    Duluth, MN
    Posts
    128
    Vote Rating
    16
    badgerb1 will become famous soon enough

      0  

    Default Still does not work. Included simple example code.

    Still does not work. Included simple example code.


    Hi guys,

    The labelAlign:'top' still doesn't work for me.

    Note left and right do work properly.
    top and bottom both put the label on the left.

    Here's my js

    Code:
    Ext.application({
            name:'setupWeb',
            launch:function() {
    
    
                Ext.create('Ext.Panel', {
                        fullscreen:true,
                        layout:'fit',
                        title:'Setup',
                        items:[
                            {
                                xtype:'container',
                                layout:'vbox',
                                items:[
                                    {
                                        center:'true',
                                        dock:'top',
                                        html:'Form',
                                        height:'20px'},
                                    {
                                        xtype:'carousel',
                                        direction:'horizontal',
                                        flex:'1',
                                        items:[
                                            {
                                                xtype:'fieldset',title:'page1',
                                                items:[
                                                    {xtype:'textfield',
                                                        label:'first Name',
                                                        name:'firstName',
                                                        labelAlign:'top'
                                                    }
                                                ]
    
    
                                            }
                                        ]
                                    }
                                ]
                            }
                   ]
                    }
                );
            }
        }
    )
        ;
    And the HTML.
    HTML Code:
    <link rel="stylesheet" type="text/css" href="/sencha-touch/resources/css/sencha-touch.css"/> 
    <script src="/sencha-touch/sencha-touch-all-debug.js"></script> 
    <script src="setupWeb.js"></script>

Thread Participants: 2

Tags for this Thread