Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

IButton without background images

$
0
0
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 Images
File Type: png correct.PNG (2.1 KB)
File Type: png wrong.PNG (2.0 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles