projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abf39c1
)
Roo/form/ComboBox.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 11 Aug 2010 06:58:08 +0000
(14:58 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 11 Aug 2010 06:58:08 +0000
(14:58 +0800)
Roo/form/ComboBox.js
patch
|
blob
|
history
diff --git
a/Roo/form/ComboBox.js
b/Roo/form/ComboBox.js
index
1ec1525
..
061fd26
100644
(file)
--- a/
Roo/form/ComboBox.js
+++ b/
Roo/form/ComboBox.js
@@
-520,13
+520,11
@@
Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, {
var tw = this.trigger.getWidth();
tw += this.addicon ? this.addicon.getWidth() : 0;
tw += this.editicon ? this.editicon.getWidth() : 0;
- this.el.setWidth(
- this.adjustWidth('input',
- w - tw
- )
+ var x = w - tw;
+ this.el.setWidth( this.adjustWidth('input', x))
);
- this.trigger.setX(
w
);
+ this.trigger.setX(
x
);
}