RFR: 8375444: MenuButton - textTruncated Property is always false [v4]

Andy Goryachev angorya at openjdk.org
Wed Jan 21 16:52:13 UTC 2026


On Tue, 20 Jan 2026 08:41:45 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.
>
> Florian Kirmaier has updated the pull request incrementally with one additional commit since the last revision:
> 
>   JDK-8375444
>   Removed commented out print statements.
>   Fixed import order.

Marked as reviewed by angorya (Reviewer).

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

PR Review: https://git.openjdk.org/jfx/pull/2040#pullrequestreview-3688313939


More information about the openjfx-dev mailing list