gwt-material-addins icon indicating copy to clipboard operation
gwt-material-addins copied to clipboard

MaterialOverlay Opacity

Open kevzlou7979 opened this issue 5 years ago • 0 comments

MaterialOverlay has a constructor that allows you to set the opacity, However, the open([...]) functions all end up setting the opacity to 1. I would like to be able to open an overlay that isn't fully opaque.

A workaround for this is to not call overlay.setBackgroundColor but instead call getElement().getStyle().setBackgroundColor("rgba(0,0,0,0.2)"), for example, to set a black, 0.2 opacity.

Reported by: @RLHawk1

kevzlou7979 avatar Oct 03 '18 06:10 kevzlou7979