【问题标题】:How to design panel like this in sencha touch 2如何在 sencha touch 2 中设计这样的面板
【发布时间】:2013-01-25 01:50:54
【问题描述】:

我在 sencha touch 工作了将近一个月,但我找不到在 sencha 中设计如下 UI 的方法。

上面的面板是使用 Jquery mobile 创建的。

如何在 sencha 中创建这样的面板?

煎茶触摸屏不像上面那么漂亮

【问题讨论】:

  • 对我来说只是面板中的一些按钮...是在弹出窗口中,还是在整个屏幕中?

标签: android extjs sencha-touch sencha-touch-2


【解决方案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',
        }
    ]
};

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-05-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多