setSize... in LoginForm doesn't work?

I’ll make following:

 
    ...
    LoginForm mwLoginForm = new LoginForm();
    mwLoginForm.setSizeUndefined();
    fwFormLayout.addComponent(mwLoginForm);
    ...

or the same with setSizeFull(); , but behind I ever find the following in html:

[code]

[/code], so it seems like setSize... doesn't work. But if I use [code] setWidth(100, Sizeable.UNITS_PERCENTAGE); [/code] it works.

Is it a bug or is there anything I’m doing the wrong way?

Greetings
Torsten

You can only have a fixed or relative size for LoginForm, the size must not be undefined in either direction.