-
Bug
-
Resolution: Fixed
-
P2
-
7u6
If you have a label with lots of text and wrap = true inside a GridPane. Then make it span then the prefHeight is calculated wrong as when GridPane calls label.prefHeight(width) the width it passes is only the width of the first column it is spanning not all columns and gaps.
The end result is way too much height is given to rows with these labels in.
The end result is way too much height is given to rows with these labels in.
- duplicates
-
JDK-8119358 Unexpected behavior with Label#setWrapText(true) in GridPane with rowSpan=2
-
- Closed
-
- relates to
-
JDK-8089235 Labeled: incorrect wrapping
-
- Open
-