projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d583b3b
)
widgets/ComboBoxLister.js
author
Alan Knowles
<alan@akkbhome.com>
Tue, 14 Sep 2010 16:03:34 +0000
(
00:03
+0800)
committer
Alan Knowles
<alan@akkbhome.com>
Tue, 14 Sep 2010 16:03:34 +0000
(
00:03
+0800)
widgets/ComboBoxLister.js
patch
|
blob
|
history
diff --git
a/widgets/ComboBoxLister.js
b/widgets/ComboBoxLister.js
index
f8bb398
..
73bc43b
100644
(file)
--- a/
widgets/ComboBoxLister.js
+++ b/
widgets/ComboBoxLister.js
@@
-63,8
+63,10
@@
Ext.extend(Ext.form.ComboBoxLister, Ext.form.ComboBox, {
this.wrap.dom.appendChild(this.el.dom);
this.outerWrap.dom.removeChild(this.trigger.dom);
this.wrap.dom.appendChild(this.trigger.dom);
this.wrap.dom.appendChild(this.el.dom);
this.outerWrap.dom.removeChild(this.trigger.dom);
this.wrap.dom.appendChild(this.trigger.dom);
-
- this.trigger.setStyle('top', '2px');
+
+ this.trigger.setStyle('position','relative');
+ this.trigger.setStyle('left', '0');
+ this.trigger.setStyle('top', '7px');
//this.trigger.setStyle('vertical-align', 'top');
if (this.adder) {
//this.trigger.setStyle('vertical-align', 'top');
if (this.adder) {
@@
-95,7
+97,7
@@
Ext.extend(Ext.form.ComboBoxLister, Ext.form.ComboBox, {
var x = w - tw;
this.el.setWidth( this.adjustWidth('input', x));
var x = w - tw;
this.el.setWidth( this.adjustWidth('input', x));
- this.trigger.setStyle('left', w + 'px');
+
//
this.trigger.setStyle('left', w + 'px');
if(this.list && this.listWidth === undefined){
var lw = Math.max(x + this.trigger.getWidth(), this.minListWidth);
if(this.list && this.listWidth === undefined){
var lw = Math.max(x + this.trigger.getWidth(), this.minListWidth);