How do I get text to wrap to the width of the container?
I have an HBox that centers a VBox, and the VBox is nicely elastic: It's the full width of the window when the window is small, but expands wider (to a limit) as the window is enlarged. But if I stick a Text with a paragraph of text into that VBox, it overflows and just keeps on going, off-screen, as a single line. I can set a wrapping width, but that ignores the size of the VBox container, which ruins the elastic UI.