Roo/bootstrap/TriggerField.js
authoredward <edward@roojs.com>
Thu, 23 Nov 2017 08:49:01 +0000 (16:49 +0800)
committeredward <edward@roojs.com>
Thu, 23 Nov 2017 08:49:01 +0000 (16:49 +0800)
Roo/bootstrap/TriggerField.js

index 31b061a..cf7b71a 100644 (file)
@@ -300,7 +300,7 @@ Roo.extend(Roo.bootstrap.TriggerField, Roo.bootstrap.Input,  {
                     {
                         tag: 'label',
                         'for' :  id,
-                        cls : 'control-label col-sm-' + this.labelWidth,
+                        cls : 'control-label',
                         html : this.fieldLabel
 
                     },
@@ -310,15 +310,19 @@ Roo.extend(Roo.bootstrap.TriggerField, Roo.bootstrap.Input,  {
                         tooltip : 'This field is required'
                     },
                     {
-                        cls : "col-sm-" + (12 - this.labelWidth)
+                        cls : ""
                         cn: [
                             combobox
                         ]
                     }
 
                 ];
+                
+                labelCfg = cfg.cn[0];
             }
             
+            
+            
         } else if ( this.fieldLabel.length) {
 //                Roo.log(" label");
             cfg.cn = [