Unstylable gaps on left side menu

29 views
Skip to first unread message

Gareth Murfin

unread,
Nov 10, 2016, 7:15:38 PM11/10/16
to CodenameOne Discussions

I have a gap at the bottom of my side menu that I cannot get to style, here is how I am trying:

SideMenuLEFT = (Container)this.createContainer(resources, "SideMenuLEFT");
            SideMenuLEFT.setWidth(Display.getInstance().getDisplayWidth()/2);
            SideMenuLEFT.setHeight((Display.getInstance().getDisplayHeight()));
            
            SideMenuLEFT.setUIID("Form");//so we get the nice background.
            toolbarForLeftMenu.setUIID("Form");
            toolbarForLeftMenu.addComponentToSideMenu(SideMenuLEFT);

See screenshot, how do I get rid of the black box in bottom left? 

Shai Almog

unread,
Nov 11, 2016, 12:38:40 AM11/11/16
to CodenameOne Discussions
I'm assuming you used the background as a scaled to fit instead of scale to fill.

Gareth Murfin

unread,
Nov 13, 2016, 7:25:48 PM11/13/16
to CodenameOne Discussions
no its on image_scaled_fill, my forms use same uiid and theyre fine,.

Shai Almog

unread,
Nov 14, 2016, 12:22:46 AM11/14/16
to CodenameOne Discussions
Did you set it to SideNavigationPanel or something else?

Gareth Murfin

unread,
Nov 14, 2016, 12:35:04 AM11/14/16
to CodenameOne Discussions
aha I did not know about that, SideNavigationPanel seems to work, although there are still some very faint lines in the same place as the boxes were. Hopefully client wont notice for now :)

Shai Almog

unread,
Nov 14, 2016, 11:56:36 PM11/14/16
to CodenameOne Discussions
You might have styled both the parent container and the child container?
Reply all
Reply to author
Forward
0 new messages