将侧边菜单幻灯片移到代号为"One"的表单上 [英] Make the sidemenu slide OVER the form in Codename One

查看:51
本文介绍了将侧边菜单幻灯片移到代号为"One"的表单上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

代号为1的侧菜单的当前行为是,侧菜单将当前表单推出时将其推到一边.我需要在菜单上滑动侧面菜单,而不要替换它.

The current behavior of the sidemenu in Codename One is that the sidemenu pushes the current form aside as it comes out. I need to have the sidemenu slide over the form without displacing it instead.

看来,唯一的选择是修改辅助菜单的基础代码或以模仿辅助菜单行为的方式利用某些其他组件.在与CN1支持人员进行的一次交谈中,修改底层代码听起来很麻烦,到目前为止,我对将其他组件分层放在表单顶部的结果并不满意.

It appears that the only options are to modify the underlying code for the sidemenu or to utilize some other component in a way that would mimic sidemenu behavior. From a conversation I had with CN1 support, modifying the underlying code sounds problematic and I haven't been happy with the results thus far of layering other components on top of the form.

其他人是否能够成功实现此功能?如果是这样,您能分享一下它的完成方式吗?

Has anyone else been able to successfully implement this functionality? if so, can you please share how it was done?

谢谢!

推荐答案

我希望我们能为您做到这一点,但是日程安排确实使这一工作变得充满挑战.如果所有其他方法均失败,请尝试完全避免使用侧面菜单,并在分层窗格中使用Container或完整显示的InteractionDialog来模拟侧面菜单.

I would hope we can do that for you but scheduling is making this really challenging. If all else fails try avoiding the sidemenu altogether and using a Container in the layered pane or alternatively a full blown InteractionDialog to simulate a sidemenu.

这篇关于将侧边菜单幻灯片移到代号为"One"的表单上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆