KRavEN
15 Aug 2008, 6:16 AM
1. In IE7 the checkbox's end up centered instead of left aligned like they are in firefox.
2. If firefox the checkbox is rendered a few pixels lower than it should be but IE7 is correct.
Fixes:
1. in Checkbox.js change the getResizeEl to check for IE and Safari
getResizeEl : function(){
if(!this.resizeEl){
this.resizeEl = Ext.isSafari||Ext.isIE ? this.wrap : (this.wrap.up('.x-form-element', 5) || this.wrap);
}
return this.resizeEl;
}
2. Fix to make FF and IE7 look identical add css
.x-form-check {
margin-bottom: 4px;
}
.x-form-check-wrap-inner {
display: inline;
padding: 0;
}
2. If firefox the checkbox is rendered a few pixels lower than it should be but IE7 is correct.
Fixes:
1. in Checkbox.js change the getResizeEl to check for IE and Safari
getResizeEl : function(){
if(!this.resizeEl){
this.resizeEl = Ext.isSafari||Ext.isIE ? this.wrap : (this.wrap.up('.x-form-element', 5) || this.wrap);
}
return this.resizeEl;
}
2. Fix to make FF and IE7 look identical add css
.x-form-check {
margin-bottom: 4px;
}
.x-form-check-wrap-inner {
display: inline;
padding: 0;
}