RFR: 8293119: Additional constrained resize policies for Tree/TableView [v20]

Karthik P K kpk at openjdk.org
Thu Dec 15 04:55:15 UTC 2022


On Wed, 14 Dec 2022 18:00:09 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> > * Observed inconsistent behavior with Data value "fixed in the middle" and Policy value "CONSTRAINED_RESIZE_POLICY". Steps to reproduce:
> 
> made some changes, please take a look.
> 
This looks fine now.
> > * Similar to AUTO_RESIZE_SUBSEQUENT_COLUMNS is there a provision to resize previous columns? I was just wondering if there is an option for that.
> 
> There is no such policy (neither here nor in JTable). I suppose it is possible. I find the other policy CONSTRAINED_RESIZE_POLICY_ALL_COLUMNS is less useful than the the new default policy CONSTRAINED_RESIZE_POLICY_FLEX_LAST_COLUMN - something about changes applied from left to right feeling more natural.

Okay. Agreed, CONSTRAINED_RESIZE_POLICY_FLEX_LAST_COLUMN looks more natural

-------------

PR: https://git.openjdk.org/jfx/pull/897


More information about the openjfx-dev mailing list