ProgressBar broken?

Hello,

I want to show the users quota by using the ProgressBar.

Pretty standard, taken from the book.

[code]
final ProgressBar bar = new ProgressBar(0.0f);
hl.addComponent(bar);

hl.addComponent(new Button(“Increase”,
new Button.ClickListener() {
@Override public void buttonClick(Button.ClickEvent event) {
float current = bar.getValue();
if (current < 1.0f) bar.setValue(current + 0.10f);
}
}));
[/code]But it isn’t ivisilbe (setVisible(true) of course)

http://i.imgur.com/C1CwMKz.png

HTML → http://i.imgur.com/T3fkksg.png

Strange, that exact example works just fine
here
. You could be experiencing some layout problem.

Odd, it looks like there’s no difference in the bar when the value is between 0.0 and 0.1.