Hi,
I'm having some display issues with IE10 resp. using <!DOCTYPE HTML>
Until now we've used <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> in the HTML bootstrap file without major problems throughout all browsers.
But with IE 10 this breaks major parts of the layout (see ie10doctype4.png for an example. These issues can also be seen in most examples in the live Showcase).
To fix this I tried to use <!DOCTYPE HTML>. This apparently fixed some issues for IE10 (ie10doctypeHTML.png) but introduced new ones in FF and Chrome(ff20doctypeHTML.png. Buttons one,two,three and five are cut off at the bottom and the MenuItems have a margin at the bottom). Also some(not all) self styled Grids behave strange in all browsers. E.g. the cell height changes by 1 or 2 pixels when hovering over. I guess there are also issues with other widgets, I didn't check all.
Also the whole application gets slower when using this doctype.
SmartGWT Version: v8.2p_2013-04-08/PowerEdition Deployment (built 2013-04-08)
GWT Version: 2.5.1
Are these known issues and is there anything I can do to fix this(esp. the Grid issue)?
Regards.
Here's the code for the example in the attached screenshots:
I'm having some display issues with IE10 resp. using <!DOCTYPE HTML>
Until now we've used <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> in the HTML bootstrap file without major problems throughout all browsers.
But with IE 10 this breaks major parts of the layout (see ie10doctype4.png for an example. These issues can also be seen in most examples in the live Showcase).
To fix this I tried to use <!DOCTYPE HTML>. This apparently fixed some issues for IE10 (ie10doctypeHTML.png) but introduced new ones in FF and Chrome(ff20doctypeHTML.png. Buttons one,two,three and five are cut off at the bottom and the MenuItems have a margin at the bottom). Also some(not all) self styled Grids behave strange in all browsers. E.g. the cell height changes by 1 or 2 pixels when hovering over. I guess there are also issues with other widgets, I didn't check all.
Also the whole application gets slower when using this doctype.
SmartGWT Version: v8.2p_2013-04-08/PowerEdition Deployment (built 2013-04-08)
GWT Version: 2.5.1
Are these known issues and is there anything I can do to fix this(esp. the Grid issue)?
Regards.
Here's the code for the example in the attached screenshots:
Code:
DynamicForm form = new DynamicForm(); SelectItem selItem = new SelectItem(); selItem.setTitle("SelectItem"); selItem.setValue("1"); form.setFields(selItem); addMember(form); DynamicForm form2 = new DynamicForm(); form2.setNumCols(3); form2.setAutoWidth(); ButtonItem btn1 = new ButtonItem("one"); btn1.setStartRow(false); btn1.setEndRow(false); ButtonItem btn2 = new ButtonItem("two"); btn2.setStartRow(false); btn2.setEndRow(false); ButtonItem btn3 = new ButtonItem("three"); btn3.setStartRow(false); btn3.setEndRow(false); form2.setFields(btn1, btn2, btn3); addMember(form2); Button btn4 = new Button("four"); addMember(btn4); IButton btn5 = new IButton("five"); addMember(btn5); Window window = new Window(); window.setSize("100", "100"); addMember(window); ToolStrip toolStrip = new ToolStrip(); Menu menu1 = new Menu(); MenuItem mItem1 = new MenuItem("Item1"); MenuItem mItem2 = new MenuItem("Item2"); MenuItem mItem3 = new MenuItem("Item3"); menu1.addItem(mItem1); menu1.addItem(mItem2); menu1.addItem(mItem3); toolStrip.addMenuButton(new ToolStripMenuButton("Menu", menu1)); addMember(toolStrip);
Comment