Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    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 Files

    #2
    IE8 strict mode is not fully supported.

    Add
    Code:
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    to your host html file.

    Comment


      #3
      thanks it works perfectly

      Comment


        #4
        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.

        Comment

        Working...
        X