Added style name for the surrounding Panel of the SimpleBusyIndicator

This commit is contained in:
Lennart Hensler committed 2012-02-07 12:44:57 +01:00
1 parent 37aab5ced5
commit eb2a6befaa
1 file changed
+1
@@ -23,6 +23,7 @@ public class SimpleBusyIndicator extends BusyIndicator {
* @param scale Scales the displayed image. 1.0 is 100%, 0.50 is 50%, ...
*/
public SimpleBusyIndicator(boolean busy, float scale) {
this.setStyleName(STYLE_NAME_PREFIX + "simpleBusyIndicator");
ImageResource resource = RESOURCES.busyIndicatorCircle();
busyIndicator = new Image(resource.getSafeUri());
busyIndicator.setStyleName(STYLE_NAME_PREFIX + "busyIndicatorCircle");