RFR: 8089009: TableView with CONSTRAINED_RESIZE_POLICY incorrectly displays a horizontal scroll bar. [v6]

Michael Strauß mstrauss at openjdk.org
Sun Aug 14 12:58:07 UTC 2022


On Sun, 14 Aug 2022 11:47:53 GMT, Marius Hanl <mhanl at openjdk.org> wrote:

>> you are right, we should not use non-ascii identifiers.
>> it was a joke, sorry.
>
>> So, plugging a 100 columns of 200 px wide we get something to the order of 1e-12 .. 1e-11.
> 
> Thanks for the explaination and links.
> The remaining question is: Should we then use a smaller epsilon value or does it not matter at all?

In general, the smallest epsilon depends on the magnitude of the floating-point number. There’s `Math.ulp(double)`, which for a given double value, returns the distance to the next representable value.

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

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


More information about the openjfx-dev mailing list