Roo/bootstrap/RadioSet.js
authoredward <edward@roojs.com>
Mon, 20 Nov 2017 09:47:19 +0000 (17:47 +0800)
committeredward <edward@roojs.com>
Mon, 20 Nov 2017 09:47:19 +0000 (17:47 +0800)
Roo/bootstrap/RadioSet.js

index 1a4b830..c8bf742 100644 (file)
@@ -112,6 +112,10 @@ Roo.extend(Roo.bootstrap.RadioSet, Roo.bootstrap.Input,  {
             ]
         };
         
+        if(this.weight.lenght){
+            cfg.cls += ' radio-' + this.weight;
+        }
+        
         if(this.inline) {
             cfg.cls += ' roo-radio-set-inline';
         }