Toolbar Sidemenu Issues

98 views
Skip to first unread message

Chibuike Mba

unread,
Mar 9, 2015, 10:57:38 AM3/9/15
to codenameone...@googlegroups.com
Hi,

am having some challenges with Toolbar Sidemenu.

Setting commandBehavior constant to Native or Bar shows white bar with empty commands  on iPhone/iPad skin like shown on image white_empty_bar.png.

Setting the commandBehavior to Side, things seems OK, clicking on hamburger menu icon displays the side menu well but if you want to open the side menu by swiping right it shows blank side menu like shown on image white_backgroun_on_right_swip.png.

On some screen resolutions when the side menu displays it shows white gap between the side menu and the form as can be seen on the image white_gap.png while i set NavigationPanel UIID's padding and margin to 0.

Lastly, Command's rollOverIcon and pressedIcon are not working as can be seen on image roll_over.png. 
Ozi Support is selected but rollOverIcon did not change.

e.g.
cmdContest.setIcon(this.getResource().getImage("ic_magic.svg"));
cmdContest.setRolloverIcon(this.getResource().getImage("ic_magic_select.svg"));
white_empty_bar.png
white_backgroun_on_right_swip.png
roll_over.png

Shai Almog

unread,
Mar 9, 2015, 1:06:10 PM3/9/15
to codenameone...@googlegroups.com
Hi,
I'm not sure about those. Chen might have an idea.

Chen Fishbein

unread,
Mar 9, 2015, 4:07:40 PM3/9/15
to codenameone...@googlegroups.com
Hi,
I don't understand how you reached these situations, can you please file a test case and I'll have a look.

Chibuike Mba

unread,
Mar 10, 2015, 10:41:51 AM3/10/15
to codenameone...@googlegroups.com
Hi Shai and Chen,

I've solve the first two issues (which are empty command and blank side menu on swipe right), it was due to empty commands I added to the form through the GUI Builder unknowingly.

But the rollOver image is still not working on selecting a command.

Everson Badaró

unread,
Jul 11, 2017, 3:44:46 PM7/11/17
to CodenameOne Discussions
Hey  All.

I have similar issues,  my Side Menu is Empty, but the commands are there. I click where the commands must be appear and the action run ok. 

I only set the commandBehavior=Side   and  added   two command to my Main Form, calling my  Manual Forms. The Label for the command there isn't  show, but i can click it and my Manual Form is showed right. What can be wrong ? 

Ps.: There isn't  empty commands added to the form through the GUI Builder. 

Thanks,
Everson Badaró 
Captura de Tela 2017-07-11 às 16.10.48.png

Shai Almog

unread,
Jul 12, 2017, 12:51:09 AM7/12/17
to CodenameOne Discussions
It's best not to open discussions from 2 years ago. This whole approach has been deprecated a while back. You should use Toolbar. E.g. https://www.codenameone.com/how-do-i-create-gorgeous-sidemenu.html
Reply all
Reply to author
Forward
0 new messages