RFR: 8375444: MenuButton - textTruncated Property is always false
Florian Kirmaier
fkirmaier at openjdk.org
Thu Jan 15 18:12:22 UTC 2026
On Thu, 15 Jan 2026 15:04:13 GMT, Florian Kirmaier <fkirmaier at openjdk.org> wrote:
> For MenuButton and SplitMenuButton the textTruncated Property is always false - but the text is correctly rendered truncated if it is to long.
>
> This PR fixes it, by extending the logic in LabeledImpl - to always forward this property.
> I've also extended the existing tests for the truncated property.
>
> It would be great, to get some feedback on how i fixes the bug.
Thank you for the quick feedback! I did the small formatting changes.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/2040#issuecomment-3756195554
More information about the openjfx-dev
mailing list