2013-02-09 87 views
0

我在sencha touch中工作了將近一個月,但是我找不到像sencha那樣設計UI的方法。如何在sencha touch中設計這樣的面板2

enter image description here

以上面板使用jQuery移動創建。

如何在sencha中創建這樣的面板?

煎茶觸摸屏不是看起來漂亮像上面

+0

看起來就像在一個小組,我的一些按鈕是......在彈出,還是整個屏幕? – jakerella 2013-02-09 20:18:49

回答

1

是啊,它只是在一個面板的一些按鈕。他們會大致在下面。你必須編輯CSS(境半徑,陰影和諸如此類的東西),但基本的設置是相當簡單:

{ 
    xtype: 'panel', 
    layout:{ 
     type:'hbox' 
    }, 
    items:[ 
     { 
      xtype:   "button", 
      text:   'Register with X', 
     }, 
     { 
      xtype:   "button", 
      text:   'Use Facebook Account', 
     }, 
     { 
      xtype:   "button", 
      text:   'Use Twitter Account', 
     } 
    ] 
};