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.
MenuBar alignment
Hi:
I have a menuBar that cover all the width of a verticalLayout, but it only has two Items, and I want them to appear at the right of the bar....is this possible?
regards,
Hugo
If I remember correctly, this has been asked before so you could try to search the forum.
One way to get this appearance would be to have two components - the first one looking like a menu bar and expanding horizontally (maybe even an empty MenuBar if it works), the second your real menu bar. Put these in a CssLayout (or HorizontalLayout) and add it to your VerticalLayout.