It is possible to set autofit to false for a Menu/MenuBar?
Now, my menuBar looks like:
<code>
|Title1|Title2|…|TitleN|
</code>
How can I obtain this look:
<code>
|Title1|Title2|…|TitleN|
</code>
Thanks again.
It is possible to set autofit to false for a Menu/MenuBar?
Now, my menuBar looks like:
<code>
|Title1|Title2|…|TitleN|
</code>
How can I obtain this look:
<code>
|Title1|Title2|…|TitleN|
</code>
Thanks again.
Have you tried setting autoFit:true on the individual MenuButtons?
I don’t use MenuButton (it’s not possible for now but it’s a nice have: MebuBar recognize only Menu items).
<code>
MenuBar menuBar = new MenuBar();
menuBar.setMenus(menu1, menu2,… menuN);
</code>
where type of menu1..N is Menu.
We’ve scheduled an enhancement to add support for menu.icon when used with a Menubar. In the meantime, it should be possible to retrieve the automatically constructed MenuButtons via getMember() and call setIcon() on them.