Go Back   SmartClient Forums > Smart GWT Technical Q&A
Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 23rd Jun 2010, 08:58
db75 db75 is offline
Registered Developer
 
Join Date: Jun 2010
Posts: 23
Default Strange presentation of basic combobox in IE8

Hi,

Following this code on SmartGWT & no CSS of course for IE8 I've got a strange presentation which is not the case inside Chrome or Firefox.

Code:
VLayout viewsListCombo = new VLayout(); DynamicForm form = new DynamicForm(); form.setWidth(250); ComboBoxItem cbItem = new ComboBoxItem(); cbItem.setTitle("Select"); //cbItem.setHint("<nobr>A simple ComboBoxItem</nobr>"); cbItem.setType("comboBox"); cbItem.setValueMap("Cat", "Dog", "Giraffe", "Goat.sx", "Marmoset", "Mouse"); //cbItem.setWidth(50); form.setFields(cbItem, cbItem); form.draw();

You can find the difference of presentation in the attached files.

Regards,
Denis.
Attached Images
File Type: jpg IE8_distorded_combobox.jpg (13.1 KB, 11 views)
File Type: jpg FF_normal_comobobox.jpg (2.8 KB, 7 views)
Reply With Quote
  #2  
Old 23rd Jun 2010, 09:06
smartgwt.dev smartgwt.dev is offline
Registered Developer
 
Join Date: Nov 2008
Posts: 898
Default

IE8 strict mode is not fully supported.

Add
Code:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

to your host html file.
Reply With Quote
  #3  
Old 23rd Jun 2010, 23:17
db75 db75 is offline
Registered Developer
 
Join Date: Jun 2010
Posts: 23
Default

thanks it works perfectly
Reply With Quote
  #4  
Old 28th Jul 2010, 22:51
kevinyang kevinyang is offline
Registered Developer
 
Join Date: May 2010
Posts: 1
Default

Quote:
Originally Posted by smartgwt.dev
IE8 strict mode is not fully supported.

Add
Code:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

to your host html file.

This one works well for me. Thank you, guys.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


©2006 Isomorphic Software   ·   Terms of use