MenuBar style label

Hi, I want to style a label like the MenuBar…

I’m currently using the Chameleon style for the app…

How can I do this???



Well the style name for the menubar div is v-menubar so adding that style name to label makes it look somewhat of a menubar minus the fact that the inside label is not positioned as menuitem.


But if you create a MenuBar with one item and null command, it’s effectively a label since nothing happens if you click it.

MenuBar menuBar = new MenuBar();
menuBar.addItem("My text", null);

Thank you very much for your answer. I already implemented the second solution you are saying, but, doesn’t this require more resources???