Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to auto fit MenuButtons?

    Is there any way to achieve AutoFit behaviour of normal Button class for MenuButtons?

    I created different Menus and set them via MenuBar.setMenus(Menu... menus). The MenuButtons are automatically created and i can only set absolute width via Menu.setMenuButtonWidth(Integer width).

    The forum includes a lot of threads that want to create a typical menubar (File, Edit, ...) but all of them are unanswered or did not contain any usefull information. The Showcase includes only examples with a single menu or menubutton but no complete menubar so there aren't some usefull inforamation too :/

    Maybe someone can help?
Working...
X