From: edward Date: Thu, 23 Nov 2017 08:49:01 +0000 (+0800) Subject: Roo/bootstrap/TriggerField.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=6e0723e1196eba3fa1d1d3286452394c3bd00d38 Roo/bootstrap/TriggerField.js --- diff --git a/Roo/bootstrap/TriggerField.js b/Roo/bootstrap/TriggerField.js index 31b061a2a3..cf7b71af7b 100644 --- a/Roo/bootstrap/TriggerField.js +++ b/Roo/bootstrap/TriggerField.js @@ -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 = [