onTop side menu in the rightmost side of the app

廉价感情. 提交于 2020-01-23 12:48:10

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!