Announcement

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

    SelectItem doesn't align properly on Windows IE 10 and 11

    Hi,

    We recently upgraded to SmartGWT4.1 and noticed an issue with SelectItem.
    SelectItem doesn't align properly on Windows IE 10 and 11 after upgrading to SmartGWT4.1. The text was placed at the bottom of the box. Please see attachment. It is fine on Chrome and Firefox. I tried to call the following 2 methods, but didn't work.

    setVAlign(VerticalAlignment.CENTER)
    setTitleVAlign(VerticalAlignment.CENTER)

    How can I fix this? We don't have any special code for the SelectItem. And I noticed the ComboBoxItem still works well. But we only need SelectItem at many places.

    1. SmartClient Version: v9.1p_2014-07-22/PowerEdition Deployment (built 2014-07-22)
    2. Windows IE 10 &11, possibly on all IE versions.

    For historical reasons, we are still using the following settings:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" >

    Can you please help?

    Thanks.
    Attached Files

    #2
    The basic problem here is your doctype and meta tag.
    Your forcing the browser into an rendering mode we don't support. If you use the HTML5 doctype (<!DOCTYPE HTML>) and remove the meta tag, the problem goes away.

    This is covered in the FAQs.

    Regards
    Isomorphic Software

    Comment


      #3
      Is there a workaround for this?

      I can't change our settings at this time. There are many other issues without these settings. Is there a workaround for this? It was fine in 4.0.

      Thanks.

      Comment

      Working...
      X