2

By default, Codename One onTop side menu is on the left of the title area.
Is it possible to have it on the right instead?

Command services = new Command("  Services", servicesIcon) {

    @Override
    public void actionPerformed(ActionEvent evt) {
    }
};
f.getToolbar().addCommandToSideMenu(services);
סטנלי גרונן
  • 2,917
  • 23
  • 46
  • 68
Amrita Stha
  • 2,973
  • 3
  • 25
  • 46

1 Answers1

0

Currently we don't support putting the side menu on the right side of the UI I think there is an RFE on that but I'm not sure.

It's something we need to have for RTL/bidi (Right to left languages) which expect the UI to reverse.

Shai Almog
  • 51,749
  • 5
  • 35
  • 65
  • Ok.. Hope this feature will be available soon. Is it possible that only side menu icon is on the right side of the toolbar? – Amrita Stha Jan 03 '18 at 16:51
  • That's technically possible. Just hide the existing icon using the theme hint and use an add material command to right side. The toolbar class has a an API to open the side menu which you can invoke. Notice that you would want to revert that once the proper bidi fix is made. – Shai Almog Jan 04 '18 at 05:02