Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
AbsoluteLayout cant set right:
When I use AbsoluteLayout if I set a right:50px position, a left:0px is also added and the right:50px has no effect
public class Test extends AbsoluteLayout implements View
{
public void enter(ViewChangeEvent event)
{
addComponent(new Label("Test"),"bottom: 50px; right: 50px;");
}
}
<div class="v-absolutelayout-wrapper" style="left: 0px; right: 50px; bottom: 50px;"><div class="v-label v-widget v-has-width" style="width: 100%;">Test</div></div>
Found the answer by accident, if you call setSizeFull() (which I was doing later) causes this problem