RFR: 8375444: MenuButton - textTruncated Property is always false [v4]
Florian Kirmaier
fkirmaier at openjdk.org
Wed Jan 21 11:37:07 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.
Thank you for the two quick code reviews!
I did all the small formatting changes.
Please let me know, whether i should change anything else.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/2040#issuecomment-3777603344
More information about the openjfx-dev
mailing list