examples/bootstrap/RadioSet.bjs
authoredward <edward@roojs.com>
Fri, 17 Nov 2017 08:43:02 +0000 (16:43 +0800)
committeredward <edward@roojs.com>
Fri, 17 Nov 2017 08:43:02 +0000 (16:43 +0800)
examples/bootstrap/RadioSet.js

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

index d6f9000..5ec7f66 100644 (file)
              "string name" : "radio_name",
              "items" : [
               {
-               "xtype" : "RadioItem",
+               "xtype" : "Radio",
                "$ xns" : "Roo.bootstrap",
                "string boxLabel" : "Yes",
                "string value" : "yes"
               },
               {
-               "xtype" : "RadioItem",
+               "xtype" : "Radio",
                "$ xns" : "Roo.bootstrap",
                "string boxLabel" : "No",
                "string value" : "no"
@@ -91,6 +91,7 @@
            "xtype" : "Column",
            "Number xs" : 12,
            "$ xns" : "Roo.bootstrap",
+           "String style" : "margin-top: 15px;",
            "items" : [
             {
              "String name" : "text_name",
index e6aa5f4..86cc03e 100644 (file)
@@ -88,14 +88,14 @@ RadioSet = new Roo.XComponent({
              '|xns' : 'Roo.bootstrap',
              items  : [
               {
-               xtype : 'RadioItem',
+               xtype : 'Radio',
                boxLabel : 'Yes',
                value : _this._strings['a6105c0a611b41b08f1209506350279e'] /* yes */,
                xns : Roo.bootstrap,
                '|xns' : 'Roo.bootstrap'
               },
               {
-               xtype : 'RadioItem',
+               xtype : 'Radio',
                boxLabel : 'No',
                value : _this._strings['7fa3b767c460b54a2be4d49030b349c7'] /* no */,
                xns : Roo.bootstrap,
@@ -114,6 +114,7 @@ RadioSet = new Roo.XComponent({
          items  : [
           {
            xtype : 'Column',
+           style : 'margin-top: 15px;',
            xs : 12,
            xns : Roo.bootstrap,
            '|xns' : 'Roo.bootstrap',