Yot*_*esh 4 appcelerator-mobile titanium-mobile
我需要删除文本字段的边框.Titanium Text字段的默认边框样式为Titanium.UI.INPUT_BORDERSTYLE_NONE.但它仅默认为iPhone.我也转过了borderColor = 'white',这是我的backgroundColor.但是不起作用.有解决方案吗
您只需设置backgroundColortextField 的属性即可.您可以将其设置为white或transparent

这是一个例子
var txtSome = Ti.UI.createTextField({
hintText : 'My hint text',
width : '75%',
top : '5%',
backgroundColor : 'transparent'//or backgroundColor : 'white'
});
Run Code Online (Sandbox Code Playgroud)
我知道为时已晚.但是会帮助其他人.
| 归档时间: |
|
| 查看次数: |
2892 次 |
| 最近记录: |