OK my last post on this, I got it all working and then
Toolbar.setOnTopSideMenu(false); did start working... so no idea what was
going wrong to be honest, but thankfully my sidemenu is now perfect..
PHEW
On Wednesday, January 16, 2019 at 6:34:11 AM UTC+8, Gareth Murfin wrote:
>
> OK ive gi
OK ive given up on trying to use:
Toolbar.setOnTopSideMenu(false);
My conclusion is that it has bugs, one of which being the menu will take
over the screen on second use (making it useless). Things work OK without
it (after days of hair tearing, and im already going bald :) )...
ironically I r
given up on trying to make my own topbar, my new question is simply, why
does nothing appear when I add to the built in one..
this adds absolutely nothing somehow!!
tb.add(BorderLayout.NORTH,new Button("HELLO"));
tb.add(BorderLayout.EAST,new Label("HELLO"));
tb.invalidate();
please see video here at 25 secs, first open works, second open takes over
screen, this is when i use tb.setHidden(true);
why?
On Wednesday, January 16, 2019 at 5:14:09 AM UTC+8, Gareth Murfin wrote:
>
> And failing that i just want to hide the topbar thing, which works until
> you open the sid
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
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 i
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+unsubs
OK this seems to work even thought it uses a depreciated method (is there
anything better than setPrefferedHeight?), BUT still the form in the
background does not move along X, why is that?
Toolbar tb = f.getToolbar();
int height=Display.getInstance().getDisplayHeight()/8;
So I started a fresh project to test this out, completely fresh, the only
code I use is
Toolbar tb = f.getToolbar();
Container IncludeSideBar = (Container) createContainer(r, "SIDEA");
tb.addComponentToSideMenu(IncludeSideBar);
still 2 issues,
1-when menu comes out it does n