examples/bootstrap/RadioSet.bjs
authoredward <edward@roojs.com>
Thu, 23 Nov 2017 06:58:47 +0000 (14:58 +0800)
committeredward <edward@roojs.com>
Thu, 23 Nov 2017 06:58:47 +0000 (14:58 +0800)
examples/bootstrap/RadioSet.js

examples/bootstrap/RadioSet.bjs
examples/bootstrap/RadioSet.js

index 129b222..8f05eb0 100644 (file)
@@ -11,6 +11,7 @@
   "e3917ff2d3b3a88eab391651215d6445" : "Radio Field Lable Left",
   "9dffbf69ffba8bc38bc4e01abf4b1675" : "Text",
   "8d80ce38760953b68529d7fc9d8d89b6" : "Radio Field Lable",
+  "cb77406bbf3dfa74988524ac61a5a9be" : "Text Name",
   "a6105c0a611b41b08f1209506350279e" : "yes",
   "ad3d06d03d94223fa652babc913de686" : "Validate",
   "b7dc22f0e17f4dfca2940eb0bd0cdc54" : "Radio Set Example"
              "String name" : "text_name",
              "xtype" : "Input",
              "string placeholder" : "Text",
+             "string fieldLabel" : "Text Name",
              "$ xns" : "Roo.bootstrap",
-             "Number labelWidth" : 6
+             "Number labelWidth" : 300
             }
            ]
           }
index 624fac7..193f5be 100644 (file)
@@ -10,6 +10,7 @@ RadioSet = new Roo.XComponent({
   'e3917ff2d3b3a88eab391651215d6445' :"Radio Field Lable Left",
   '9dffbf69ffba8bc38bc4e01abf4b1675' :"Text",
   '8d80ce38760953b68529d7fc9d8d89b6' :"Radio Field Lable",
+  'cb77406bbf3dfa74988524ac61a5a9be' :"Text Name",
   'a6105c0a611b41b08f1209506350279e' :"yes",
   'ad3d06d03d94223fa652babc913de686' :"Validate",
   'b7dc22f0e17f4dfca2940eb0bd0cdc54' :"Radio Set Example"
@@ -171,7 +172,8 @@ RadioSet = new Roo.XComponent({
             {
              xtype : 'Input',
              allowBlank : false,
-             labelWidth : 6,
+             fieldLabel : _this._strings['cb77406bbf3dfa74988524ac61a5a9be'] /* Text Name */,
+             labelWidth : 300,
              name : 'text_name',
              placeholder : _this._strings['9dffbf69ffba8bc38bc4e01abf4b1675'] /* Text */,
              xns : Roo.bootstrap,