checkbox - 如何在 sencha touch 2 中左对齐复选框字段?

标签 checkbox sencha-touch extjs sencha-touch-2 fieldset

我只是想知道是否有人能够成功地将字段集中的复选框字段左对齐;我的尝试失败了。

{
xtype : 'checkboxfield',
name : 'remember',
label : 'Store information',
style: 'float: left'
}

图片更好:

enter image description here

最佳答案

我能够将checkboxfield左对齐。查看下面的代码...

 {
    xtype: 'checkboxfield',
    name : 'tomato',
    value: 'tomato',
    checked: true,
    label: 'Tomato',
    labelWidth: '70%',
    labelAlign: 'right'
 }

输出:-

enter image description here

关于checkbox - 如何在 sencha touch 2 中左对齐复选框字段?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10499677/

相关文章:

java - 在 Java 中使用复选框启用/禁用 JComponent 存在困难

javascript - 当我在 Resources/Cookies 中有它时没有显示 cookie

css - Sencha 触摸 : selected list styling doesn't work

javascript - 嵌套复选框 : Checked/Unchecked children with parent check

javascript - 扩展复选框的检查区域

jQuery 相当于 ExtJS 函数extend()、apply() 和namespace()?

javascript - 分机JS : Add button to a column in a grid to show/hide other columns

html - 将图片添加到网格中 - ExtJS

jquery - 复选框详细 View

android - 如何在 Sencha Touch 2 中制作签名的 APK