> 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. ------------- Changes: - all: https://git.openjdk.org/jfx/pull/2040/files - new: https://git.openjdk.org/jfx/pull/2040/files/4f7416ae..6f78c578 Webrevs: - full: https://webrevs.openjdk.org/?repo=jfx&pr=2040&range=03 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=2040&range=02-03 Stats: 9 lines in 2 files changed: 1 ins; 8 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
