My app has a BrowserComponent in the layout, where a long page can be 
displayed.
It is intended to scroll, but without scrollbars visible.
I see that the vertical scrollbar is visible instead. 
A further fact is that when I grab the scrollbars with the mouse pointer 
the side menu wants to appear and it is coming visible indeed (if I drag 
laterally it appears completely).

I put all this kind of code:

webView.setScrollVisible(false);
mainVertical.add(BorderLayout.NORTH,anotherArea);
        area.setScrollableX(false);
area.setScrollableY(false);
area.add(BorderLayout.CENTER,webView);
        mainVertical.setScrollableX(false);
mainVertical.setScrollableY(false);
        mainVertical.add(BorderLayout.CENTER,area);
      /*  UIManager.getInstance().setLookAndFeel(new 
DefaultLookAndFeel(UIManager.getInstance()) {
            @Override
            public void bind(Component cmp) {
                if (cmp instanceof Container) {
                    cmp.setScrollVisible(false);
                }
            }
        });*/
this.setLayout(new BorderLayout());
        this.add(BorderLayout.CENTER,mainVertical);

but even uncommenting those commented lines there is a visible scrollbar.
I cannot get rid of it.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/b6dbe0f2-ad29-4109-a28f-7f798eba4eb7n%40googlegroups.com.

Reply via email to