0
如何居中Titanium中的文本字段?以下是文本字段代碼:Titanium Mobile中的文本字段居中
var textfield1 = Titanium.UI.createTextField({
color:'#006',
backgroundColor:'#fff',
height:50,
top:'auto',
left:'auto',
width:300,
borderStyle:Titanium.UI.INPUT_BORDERSTYLE_ROUNDED
});