RFR: 8255572: Axis does not compute preferred height properly when autoRanging is off [v4]

Kevin Rushforth kcr at openjdk.java.net
Mon Jan 11 22:19:58 UTC 2021

On Wed, 25 Nov 2020 15:56:05 GMT, Jonathan Vusich <github.com+31666175+JonathanVusich at openjdk.org> wrote:

>> While this does fix the specific problem, it introduces a new one. If the labels are initially too big, but after resizing the window would now fit, it does not recompute the orientation. This means that you are left with labels that are rotated even when they don't need to be.
> @kevinrushforth Thank you for catching that. Do you think it would be acceptable to simply rotate the labels back to zero if the user expands the window?

@JonathanVusich will you be able to update the test to add adding a test for a vertical axis? That's the only outstanding change at this point.


PR: https://git.openjdk.java.net/jfx/pull/342

More information about the openjfx-dev mailing list