Right, I have reverted my code to use EM's and can see the problem again. The code below also shows the problem. It uses a map in the centre panel and I am not sure if this is where the problem arises. <!DOCTYPE HTML> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <script type="text/_javascript_" language="_javascript_" src="search.nocache.js"></script> </head> <body> </body> </html> public void onModuleLoad() { DockLayoutPanel p = new DockLayoutPanel(Unit.EM); p.addNorth(new HTML("north"), 3); p.addSouth(new HTML("south"), 3); p.addEast(new HTML("east"), 10); p.addWest(new HTML("west"), 10); MapWidget map = new MapWidget(LatLng.newInstance(-41.1, 174.8), 5); p.add(map); p.layout(); RootLayoutPanel rp = RootLayoutPanel.get(); rp.add(p); rp.layout(); map.checkResizeAndCenter(); } Not sure if this image will make it into my reply: it shows the word "East" is partly obscured by the map. Possibly only by 5px My IE6 is 6.0.2900.2180.xpsp running on XP professional SP2 on Parallels Hope this helps! John |
- DockLayoutPanel and YUI jd
- Re: DockLayoutPanel and YUI jd
- Re: DockLayoutPanel and YUI jgw
- Re: DockLayoutPanel and YUI John Patterson