Integrated: 8375444: MenuButton - textTruncated Property is always false

Florian Kirmaier fkirmaier at openjdk.org
Thu Feb 12 16:55:17 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.

This pull request has now been integrated.

Changeset: bf93e0d5
Author:    Florian Kirmaier <fkirmaier at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/bf93e0d5c54fc36b53f60d7608bfbd4ab0de730d
Stats:     92 lines in 2 files changed: 73 ins; 1 del; 18 mod

8375444: MenuButton - textTruncated Property is always false

Reviewed-by: angorya, mstrauss

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

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


More information about the openjfx-dev mailing list