[Commits] r1929 - core/trunk/geoext/tests/lib/GeoExt/widgets
commits at geoext.org
commits at geoext.org
Mon Mar 8 16:16:14 CET 2010
Author: elemoine
Date: 2010-03-08 16:16:14 +0100 (Mon, 08 Mar 2010)
New Revision: 1929
Modified:
core/trunk/geoext/tests/lib/GeoExt/widgets/MapPanel.html
Log:
make MapPanel.html tests pass with Ext 3, they now pass in FF3, IE8, and
Chromium 5. I had to use forceLayout:true though, which I don't like,
but I didn't find a better way. No functional change.
Modified: core/trunk/geoext/tests/lib/GeoExt/widgets/MapPanel.html
===================================================================
--- core/trunk/geoext/tests/lib/GeoExt/widgets/MapPanel.html 2010-03-08 12:50:38 UTC (rev 1928)
+++ core/trunk/geoext/tests/lib/GeoExt/widgets/MapPanel.html 2010-03-08 15:16:14 UTC (rev 1929)
@@ -268,6 +268,10 @@
panel = new Ext.Panel({
layout: "border",
renderTo: "mappanel",
+ forceLayout: true, // for some reason the test fails
+ // with Ext 3 w/o this
+ width: 200,
+ height: 200,
listeners: {
afterlayout: function() {
layout++;
@@ -289,6 +293,7 @@
</script>
+ </head>
<body>
<div id="mappanel"></div>
</body>
More information about the Commits
mailing list