-
Bug
-
Resolution: Fixed
-
P4
-
None
-
8
The new TextFlow node in javafx.scene.text doesn't provide a sensible value for minHeight(double width). Ideally this would be the needed space to layout all of the text components for a specific width, but instead it is defaulting to the parent Pane implementation which is just margins.
IMHO the minHeight for a particular width should be the pref height if flowed naturally.
This is particularly problematic when scroll panes get involved. Consider a scroll pane containing a vbox containing several textFlows containing text. With the min size of effectively the margins, the text nodes will be drawn overlapping each other.
IMHO the minHeight for a particular width should be the pref height if flowed naturally.
This is particularly problematic when scroll panes get involved. Consider a scroll pane containing a vbox containing several textFlows containing text. With the min size of effectively the margins, the text nodes will be drawn overlapping each other.