1. generally ignores preferred column widths
2. unexpectedly displays horizontal scroll bar when the minimum width is set, despite a recent fix by
3. fails to resize when the tree/table is empty
4. fails to resize when the user adjusts columns manually
5. exhibits weird behavior when a minimum width is set and the horizontal scrolling is involved
6. resizing a column for which min and max widths are set to the same value produces unexpected behavior
7. Tree/TableView.CONSTRAINED_RESIZE_POLICY is static, which means .isFirstRun field is a singleton! (this must be
More importantly, the current design makes it impossible for developers to implement their own version of a column resize policy because of:
1. Tree/TableView.contentWidth is private
2. TableColumnBase.doSetWidth() is package protected
3. TableHeader tests for == CONSTRAINED_RESIZE_POLICY (lines 684, 779) or, put in other words, it is simply impossible to communicate to the Tree/TableView that a particular (custom) resize policy is a constrained one.
- is blocked by
-
JDK-8087673 [TableView] TableView and TreeTableView menu button overlaps columns when using a constrained resize policy.
- Resolved
-
JDK-8089009 TableView with CONSTRAINED_RESIZE_POLICY incorrectly displays a horizontal scroll bar.
- Resolved
-
JDK-8089280 horizontal scrollbar should never become visible in TableView with constrained resize policy
- Resolved
-
JDK-8137244 Empty Tree/TableView with CONSTRAINED_RESIZE_POLICY is not properly resized
- Resolved
-
JDK-8088010 TableView.CONSTRAINED_RESIZE_POLICY only works from the second table
- Closed
-
JDK-8089456 CONSTRAINED_RESIZE_POLICY sometimes ignored when setMaxWidth is used
- Closed
-
JDK-8090112 Wrong TableView headers width when using TableView.CONSTRAINED_RESIZE_POLICY
- Closed
-
JDK-8157687 TableView.CONSTRAINED_RESIZE_POLICY does honor column preferred widths
- Closed
-
JDK-8130747 TableView Header is not resized appropriately when TableView is empty
- Closed
-
JDK-8091269 Cannot set initial column sizes with CONSTRAINED_RESIZE_POLICY
- Closed
- relates to
-
JDK-8293119 Additional constrained resize policies for Tree/TableView
- Resolved