MenuBar alignment


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?



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.