PDA

View Full Version : [CLOSED] labelAlign not working



bstras21
18 Nov 2011, 3:14 PM
I just switched to sencha touch pr2 and labelAlign:top does not seem to work anymore.

Jamie Avins
18 Nov 2011, 4:20 PM
Thank you for the report. We are already aware of the issue.

badgerb1
18 Jan 2012, 7:41 AM
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



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.


<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>