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

Andy Goryachev angorya at openjdk.org
Thu Jan 5 19:01:00 UTC 2023


On Thu, 5 Jan 2023 17:16:37 GMT, Karthik P K <kpk at openjdk.org> wrote:

> Where as in AUTO_RESIZE_ALL_COLUMNS policy, the column whose width was reduced last gets expanded first. Should we keep the behavior consistent across all policies?

thank you for testing, @karthikpandelu !

not really, the idea of providing several different policies with different behavior is that the app developer can choose the one that fits the requirements best.

AUTO_RESIZE_ALL_COLUMNS tries to allocate extra space proportionally to the preferred width of each column, so the behavior you are describing is expected.

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

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


More information about the openjfx-dev mailing list