现在的位置: 首页 > 综合 > 正文

sencha touch

2013年09月02日 ⁄ 综合 ⁄ 共 302字 ⁄ 字号 评论关闭

一、Hello World
1 用sencha-touch-debug.js。
2 将src包放在webRoot下或参考ajax(6.9)项目。
二、Sencha Touch的布局类似Extjs中的布局,常用的有:BoxLayout、HBoxLayout、VBoxLayout、FitLayout、CardLayout。
3  Ext.MessageBox.YESNO = [{text: '是', itemId: 'yes', ui: 'action'}, {text: '否',  itemId: 'no'}];//将messagebox里面的按钮文字修改为中文
4 Ext.Viewport.getWindowHeight(); 获取设备的尺寸

抱歉!评论已关闭.