And failing that i just want to hide the topbar thing, which works until 
you open the side menu a second time, and then it takes over the whole 
screen and you cant get out... any ideas why that is? 

I think this side menu stuff is the hardest thing about cn1, same with my 
previous projects, ive had to tell people they cant use one at times.

so this works BUT if you open menu again (second time) it takes over whole 
screen and youre stuck, this is killing me

tb.setVisible(false);
       tb.setHidden(true);

On Wednesday, January 16, 2019 at 4:56:26 AM UTC+8, Gareth Murfin wrote:
>
> thanks Shai, was unable to get it working unfortunately, but ive managed 
> to salvage a project where it does work and start my project again using 
> that, theres some mystery in there I dont understand.  One thing I go know 
> is that if you call tb.setHidden(true); then when the side menu comes out 
> it will simply take over the whole screen and not leave the one behind it. 
>
> My main problem right now is, how do you add things to the topbar? the 
> thing with the hamburger menu in it, I cant get components to appear in 
> there, I need to add labels and some more buttons, how do you do that ?
>
>  tb.add(BorderLayout.NORTH,new Label("arse")); // doesnt show up in the 
> topbar...
>
>
>
> On Tuesday, January 15, 2019 at 11:36:36 AM UTC+8, Shai Almog wrote:
>>
>> I would suggest styling the side menu UIID's to have no padding/margin.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/321d0792-f57a-4824-b702-ba3e8bf55358%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to