本文介绍了应用最右侧的onTop侧菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

默认情况下,顶部菜单上的Codename One位于标题区域的左侧.
可以将它放在右边吗?

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

    @Override
    public void actionPerformed(ActionEvent evt) {
    }
};
f.getToolbar().addCommandToSideMenu(services);
解决方案

当前,我们不支持将侧面菜单放在UI的右侧,我认为这是一个RFE,但我不确定./p>

对于RTL/bidi(从右到左语言),我们需要这些东西,期望UI反转.

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);
解决方案

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.

这篇关于应用最右侧的onTop侧菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-04 22:13