Hi all,
I have problems with displaying my application correctly in MSIE. In firefox and in Safari everything looks okay.
The problem is that the window borders are not displayed in MISE. Everything else looks fine, but the windows have blank borders and are missing the title bar.
My test code looks like this, based on the demo code:
MyLittleTest.gwt.xml:
I have tried setting the user agent to ie6 in this file without any luck.
MyLittleTest implementations looks like this, which basically is cut and paste from some of the showcase demoes:
This code displays perfectly fine in Firefox/Safari. I get two windows and a button with the standard Enterprise theme used.
In MSIE, the windows are there, but the borders and the title bar controls are missing. The button is text only. The scrollbar is displayed okay though.
I've tried this with MSIE 7 and MSIE 8 without any luck.
See the attached files for screenshots.
When I look at the loaded images in Firebug, all images needed for the border is loaded. In the DeveloperTool in MSIE, I only find the blank.gif and the scrollbar images. So for some reason, they are not loaded.
Any ideas what I'm doing wrong? Any setting I need in MyLittleTest.gwt.xml?
Thanks
Rolf
I have problems with displaying my application correctly in MSIE. In firefox and in Safari everything looks okay.
The problem is that the window borders are not displayed in MISE. Everything else looks fine, but the windows have blank borders and are missing the title bar.
My test code looks like this, based on the demo code:
MyLittleTest.gwt.xml:
Code:
<module> <inherits name='com.google.gwt.user.User'/> <inherits name="com.smartgwt.SmartGwt"/> <entry-point class='com.test.MyLittleTest'/> </module>
MyLittleTest implementations looks like this, which basically is cut and paste from some of the showcase demoes:
Code:
public class MyLittleTest implements EntryPoint { public static Window createWin(String title, boolean autoSizing, int width, int height, int offsetLeft) { Label label = new Label( "<b>Severity 1</b> - Critical problem<br/>System is unavailable in production or is corrupting data, and the error severely impacts the user's operations.<br/><br/>" + "<b>Severity 2</b> - Major problem<br/>An important function of the system is not available in production, and the user's operations are restricted.<br/><br/>" + "<b>Severity 3</b> - Minor problem<br/>Inability to use a function of the system occurs, but it does not seriously affect the user's operations."); label.setWidth100(); label.setHeight100(); label.setPadding(5); label.setValign(VerticalAlignment.TOP); Window window = new Window(); window.setAutoSize(autoSizing); window.setTitle(title); window.setWidth(width); window.setHeight(height); window.setLeft(offsetLeft); window.setCanDragReposition(true); window.setCanDragResize(true); window.addItem(label); return window; } /** * This is the entry point method. */ public void onModuleLoad() { IButton button = new IButton("Hello World"); button.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { SC.say("Hello World from SmartGWT"); } }); Canvas canvasMain = new Canvas(); canvasMain.addChild(createWin("Auto-sizing window", true, 300, 190, 0)); canvasMain.addChild(createWin("Normal window", false, 220, 250, 320)); canvasMain.addChild(button); canvasMain.draw(); } }
In MSIE, the windows are there, but the borders and the title bar controls are missing. The button is text only. The scrollbar is displayed okay though.
I've tried this with MSIE 7 and MSIE 8 without any luck.
See the attached files for screenshots.
When I look at the loaded images in Firebug, all images needed for the border is loaded. In the DeveloperTool in MSIE, I only find the blank.gif and the scrollbar images. So for some reason, they are not loaded.
Any ideas what I'm doing wrong? Any setting I need in MyLittleTest.gwt.xml?
Thanks
Rolf
Comment