I want to make contents of a FlowPane to scroll vertically, but not
horizontally (if another child doesn't fit in width, go to next row). The
obvious one doesn't work - it simply disables scrollbar, but no wrapping is
done, elements get clipped on the right side:
<Window bxml:id="window" maximized="true"
xmlns:bxml="http://pivot.apache.org/bxml" xmlns="org.apache.pivot.wtk">
<ScrollPane>
<horizontalScrollBarPolicy> NEVER </horizontalScrollBarPolicy>
<FlowPane>
<!-- Lots of components here... -->
</FlowPane>
</ScrollPane>
</Window>
What is the simplest way to do this?