Hello,
Using Smart GWT 3.0 Power.
It seems that the following code of a draggable/resizeable semi transaprent label, is rendered opaque in Internet Explorer.
Since it is using the setOpacity API, I thought it should be working. What am I missing?
If this is not a bug, what is the best way to come around this? I kinda need the semi-transparantness.
Using Smart GWT 3.0 Power.
It seems that the following code of a draggable/resizeable semi transaprent label, is rendered opaque in Internet Explorer.
Since it is using the setOpacity API, I thought it should be working. What am I missing?
Code:
public class DragLabel extends Label {
public DragLabel(int width, int height) {
setAlign(Alignment.CENTER);
setPadding(0);
setWidth(width);
setHeight(height);
setShowEdges(false);
setKeepInParentRect(true);
setCanDragReposition(true);
setCanDragResize(true);
setDragAppearance(DragAppearance.TARGET);
setOpacity(50);
setBackgroundColor("#ffffff");
setBorder("2px solid #000");
}
}
Comment