JDK-8125406 : REGRESSION: TextArea don't resize on parent size
Type:Bug
Component:javafx
Sub-Component:controls
Affected Version:8
Priority:P2
Status:Closed
Resolution:Fixed
Submitted:2012-09-14
Updated:2015-06-17
Resolved:2013-04-22
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
From Rich: "I guess what we should do with this issue is tabulate all the different controls and what their default min/pref/max should be, and let that guide our actions here"
SkinBase was changed from extending StackPane to providing its own computeMinWidth() method, among others, which now returns control.prefWidth() instead of consulting the skin's children's minWidth. So in effect it acts as if setMinWidth(USE_PREF_SIZE) was called even when the value is still USE_COMPUTED_SIZE.
A fix would be to override computeMinWidth() in TextAreaSkin, but this bug will probably affect other controls as well, so I'm leaving it open for now.