Announcement

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

    Opacity in IE of a Label.

    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?

    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");
    	}
    }
    If this is not a bug, what is the best way to come around this? I kinda need the semi-transparantness.
    Last edited by Sytematic; 19 Feb 2012, 11:59.

    #2
    See the IEFilters overview in the docs package.

    Comment

    Working...
    X