RFR: 8375444: MenuButton - textTruncated Property is always false [v3]
Florian Kirmaier
fkirmaier at openjdk.org
Thu Jan 15 21:02:04 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.
Florian Kirmaier has updated the pull request incrementally with one additional commit since the last revision:
JDK-8375444
Removed unnecessary newline
-------------
Changes:
- all: https://git.openjdk.org/jfx/pull/2040/files
- new: https://git.openjdk.org/jfx/pull/2040/files/1701bdcb..4f7416ae
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jfx&pr=2040&range=02
- incr: https://webrevs.openjdk.org/?repo=jfx&pr=2040&range=01-02
Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 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