-
Bug
-
Resolution: Cannot Reproduce
-
P5
-
fx2.1
-
2.1-b14
I've encountered that list items has wrong layout and exceed ListView width eventually. I spent several hours finding out the cause. Weird layout stuff was caused by NaN and Infinity values set as the min/max size for node.
See the attached example. When the value is NaN, the item exceeds list width. When the value is infinity, the component seems to be clipped correctly.
I believe we should have some kind of protection in layout stuff instead of showing these weird things.
See the attached example. When the value is NaN, the item exceeds list width. When the value is infinity, the component seems to be clipped correctly.
I believe we should have some kind of protection in layout stuff instead of showing these weird things.
- duplicates
-
JDK-8093053 Button with prefWidth="Infinity" in GridPane breaks the runtime
- Closed
-
JDK-8124538 FXML : Stage does't show after load AnchorPahe with minWidth="+Infinity"
- Closed