aw1zard2
17 Dec 2009, 8:13 AM
Ext 3.1 example is missing the contacts button.
Ext 3.0.3 shows it correctly.
Using FF3.5.6 Firebug 1.4.5 WinXP Pro
If you need more info let me know.
:)
Animal
17 Dec 2009, 8:52 AM
Try this:
Ext.override(Ext.Container, {
canLayout: function() {
var el = this.getLayoutTarget(), s, p, z, result = false;
if (el && (el = el.dom)) {
// Displayed elements which are empty and position:absolute, or are empty and within a <td> will
// report offsetWidth and offsetHeight of zero. So temporarily give it padding to see if it acquires dimensions.
(p = (s = el.style).paddingRight, z = s.zoom, s.zoom = 1, s.paddingRight = '1px');
result = !!(el.offsetWidth || el.offsetHeight);
(s.paddingRight = p, s.zoom = z);
}
return result;
}
});
aw1zard2
17 Dec 2009, 8:56 AM
Confirmed that fixed it.
Thanks Animal.
Just need to fix the example now.
:)
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.