简体   繁体   English

删除appcelerator搜索中的“取消”按钮

[英]remove cancel button in appcelerator search

I am trying to create a search bar for iOS.By default what i get is : http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.SearchBar . 我正在尝试为iOS创建搜索栏。默认情况下,我得到的是: http ://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.SearchBar。 Is there a way to disable to cancel button since i alreay get a (small cross) to cancel the search ?? 有一种方法可以禁用取消按钮,因为我确实得到了一个(小叉号)来取消搜索? Also can we reduce the width of search bar,and move the hintText to left side?? 我们也可以减少搜索栏的宽度,并将hintText移到左侧吗? Application type: Mobile Titanium SDK:4.0.GA Platform & version:iOS 8 xcode 6 Device :iPad Host OS:iOS Any help would be really appreciated. 应用程序类型:Mobile Titanium SDK:4.0.GA平台和版本:iOS 8 xcode 6设备:iPad主机操作系统:iOS任何帮助将不胜感激。 Thanks 谢谢

如果您需要更多的调整,我建议您使用手动搜索栏,因为本机对象并不总是支持更多的选项来修改它们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM