我只是sencha觸摸技術的初學者。現在我有一個簡單的問題。如何調整字段集寬度並僅對齊到中心?我只獲取僅設置爲全屏的字段集。請給我一個解決方案。調整字段集寬度並調整到中心
這裏我的javascript
items:[{
xtype:'fieldset',
title :'Please enter your password key',
centered: true,
width: 30,
items:[{
xtype: 'passwordfield',
name : 'password',
label: 'password',
width : 400,
}]
}],