Version: SmartClient Version: SNAPSHOT_v8.3d_2012-09-24/LGPL Development Only (built 2012-09-24)
Browser: IE9
I just tried updating to the latest 3.1d nightly. I was previously using a version from a couple of months ago.
When I did, I had to change my calls to setBackgroundRepeat because the enumeration used for the parameter changed type.
Now my backgrounds are no longer rendering correctly.
I am building up something like a toolbar and trying to put separators between groups of buttons. I build up the separators as follows:
The image is 3x1 with red/green/blue pixels. I place several of these items in the parent using addMember().
In Firefox, chrome, the images render correctly.
In IE9, some render correctly and others do not (see attached enlarged image). With the previous rev this worked fine. Any idea what is going wrong?
Looking at the page from IE's developer tools, the one that looks fine looks like:
<div class="normal" id="isc_5S" style="left: 92px; top: 2px; width: 3px; height: 19px; overflow: visible; position: absolute; z-index: 202970; cursor: default; background-image: url("http://localhost/com.hp.cp.pm.gwt.linker.PMLinker/sc/skins/Enterprise/images/Product/V_separator.png");/>
and the one that looks wrong looks like:
<div class="normal" id="isc_5S" style="left: 151px; top: 2px; width: 3px; height: 19px; overflow: visible; position: absolute; z-index: 202988; cursor: default; background-image: url("http://localhost/com.hp.cp.pm.gwt.linker.PMLinker/sc/skins/Enterprise/images/Product/V_separator.png");/>
The only differences I see are the position and z-index information. Not certain why they are rendering differently.
Is this an IE9 defect? I wasn't able to find anything related to this by googling. If so, was smartGwt doing something before that was compensating for the defect?
Browser: IE9
I just tried updating to the latest 3.1d nightly. I was previously using a version from a couple of months ago.
When I did, I had to change my calls to setBackgroundRepeat because the enumeration used for the parameter changed type.
Now my backgrounds are no longer rendering correctly.
I am building up something like a toolbar and trying to put separators between groups of buttons. I build up the separators as follows:
Code:
VLayout vSeparatorGroup = new VLayout(); vSeparatorGroup.setSize("3px", "19px"); vSeparatorGroup.setBackgroundImage("[SKIN]Product/V_separator.png"); vSeparatorGroup.setBackgroundRepeat(BackgroundRepeat.REPEAT_Y);
In Firefox, chrome, the images render correctly.
In IE9, some render correctly and others do not (see attached enlarged image). With the previous rev this worked fine. Any idea what is going wrong?
Looking at the page from IE's developer tools, the one that looks fine looks like:
<div class="normal" id="isc_5S" style="left: 92px; top: 2px; width: 3px; height: 19px; overflow: visible; position: absolute; z-index: 202970; cursor: default; background-image: url("http://localhost/com.hp.cp.pm.gwt.linker.PMLinker/sc/skins/Enterprise/images/Product/V_separator.png");/>
and the one that looks wrong looks like:
<div class="normal" id="isc_5S" style="left: 151px; top: 2px; width: 3px; height: 19px; overflow: visible; position: absolute; z-index: 202988; cursor: default; background-image: url("http://localhost/com.hp.cp.pm.gwt.linker.PMLinker/sc/skins/Enterprise/images/Product/V_separator.png");/>
The only differences I see are the position and z-index information. Not certain why they are rendering differently.
Is this an IE9 defect? I wasn't able to find anything related to this by googling. If so, was smartGwt doing something before that was compensating for the defect?
Comment