When I did splitPane.getNavigationBar().hide(); AND splitPane.getNavigationPane.hide(), both panes disappeared but the container layout is not adjusted. The resize bar is not collapse at all. What else should I tried ?
I was able to make it work by setting SplitPane .setNavigationPaneWidth(1); before SplitPane.draw(); And then when I do the components hide then it will collapse
One possible solution for hiding the navigation pane is the code:
Code:
splitPane.hideMember(splitPane.getMember(0));
but note that it only works in desktop mode. On handsets, the navigation pane should be auto-hidden when you navigate to another pane, so if that's what you're trying to achieve, it's already built into our framework.
If you're aiming for something else, you need to describe for us from the end user’s perspective and then we can recommend an approach.
Comment