问题
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);
回答1:
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.
来源:https://stackoverflow.com/questions/48063194/ontop-side-menu-in-the-rightmost-side-of-the-app