RFR: 8375444: MenuButton - textTruncated Property is always false
Florian Kirmaier
fkirmaier at openjdk.org
Thu Jan 15 15:09:50 UTC 2026
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.
-------------
Commit messages:
- JDK-8375444
Changes: https://git.openjdk.org/jfx/pull/2040/files
Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2040&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8375444
Stats: 100 lines in 2 files changed: 83 ins; 0 del; 17 mod
Patch: https://git.openjdk.org/jfx/pull/2040.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/2040/head:pull/2040
PR: https://git.openjdk.org/jfx/pull/2040
More information about the openjfx-dev
mailing list