RFR: 8089280: horizontal scrollbar should never become visible in TableView with constrained resize policy [v3]

Andy Goryachev angorya at openjdk.org
Wed Sep 14 15:19:59 UTC 2022


On Wed, 14 Sep 2022 07:03:42 GMT, Marius Hanl <mhanl at openjdk.org> wrote:

> By suppressing the horizontal scrollbar, aren't we fighting the symptom here rather than investigating why it is sometimes still shown?

We **know** why it is shown - due to the minimum width constraint set on column(s).  The default value is 10, (TableColumnBase:122), the existing logic would show the HSB when the sum of column widths exceeds the allotted space.

This is a follow up fix for JDK-8089009, to be followed by fixing the constrained resize policy in JDK-8293119

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

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


More information about the openjfx-dev mailing list