You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by Andrey Popchansky <es...@gmail.com> on 2013/06/28 21:49:44 UTC

FlowPane inside ScrollPane - how to force wrapping and vertical scrolling? [SOLVED]

>Try using “FILL” for the “horizontalScrollBarPolicy”.  If you read the
Javadoc for NEVER it says:   Never show the scroll bar, and *don't affect
the layout of the pane's content*.Since you *do* want the layout to be
affected, then FILL should work.

Tried this, the result if exactly what I wanted. Thanks for help!
Looks like I should read stuff more carefully than I did.

RE: FlowPane inside ScrollPane - how to force wrapping and vertical scrolling? [SOLVED]

Posted by "Roger L. Whitcomb" <Ro...@actian.com>.
Glad to hear it!  No problem - it took me a while to figure this out
myself ....

 

~Roger Whitcomb

 

From: Andrey Popchansky [mailto:eshteborsch@gmail.com] 
Sent: Friday, June 28, 2013 12:50 PM
To: user@pivot.apache.org
Subject: FlowPane inside ScrollPane - how to force wrapping and vertical
scrolling? [SOLVED]

 

>Try using "FILL" for the "horizontalScrollBarPolicy".  If you read the
Javadoc for NEVER it says:   Never show the scroll bar, and don't affect
the layout of the pane's content.Since you do want the layout to be
affected, then FILL should work.

Tried this, the result if exactly what I wanted. Thanks for help!

Looks like I should read stuff more carefully than I did.