Prevent scrolling while panning/zooming charts

10 views
Skip to first unread message

nick.kr...@gmail.com

unread,
Nov 22, 2017, 1:33:39 PM11/22/17
to CodenameOne Discussions
What is the correct layout to achieve this? Currently when I try to pan around on a specific chart, the form scrolls, which I don't want. 

Shai Almog

unread,
Nov 23, 2017, 12:20:25 AM11/23/17
to CodenameOne Discussions
I would suggest placing the chat in the center of a BorderLayout form. Borderlayout implicitly disables scrolling.

You can also invoke setScrollable(false) on the form/content pane.
Reply all
Reply to author
Forward
0 new messages