Announcement

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

    IButton without background images

    Hi,

    we've upgraded to SmartGWT 5.0p, SmartClient Version: v10.0p_2015-02-24/LGPL Development Only (built 2015-02-24).

    But this brings up a problem with IButton (or StretchImgButton).
    We changed the class defaults in load_skin.js to not use the background images:
    Code:
    isc.defineClass("IButton", "StretchImgButton").addProperties({
            src:null,
    ...
    Together with CSS settings we style our buttons only by borders and background properties:
    Code:
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border-width: 1px;
    border-style: solid;
    border-color: #6DA7FF;
    background-color: #EFEFEF;
    This works quite well in all browsers with the SmartGWT 4.0p.
    But after SGWT upgrade, in the IE 11 browser, the buttons are drawn incorrectly (see the attached pictures). FF and Chrome browsers are ok.

    So please, any idea about the cause and possible solution?
    Attached Files

    #2
    No response - I understand this is not so important problem :)
    Anyway, I've applied a quick workaround to solve this - use transparent background images for the IButtons...

    Comment

    Working...
    X