> 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 Small code formatting fixes ------------- Changes: - all: https://git.openjdk.org/jfx/pull/2040/files - new: https://git.openjdk.org/jfx/pull/2040/files/6ee4ed66..1701bdcb Webrevs: - full: https://webrevs.openjdk.org/?repo=jfx&pr=2040&range=01 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=2040&range=00-01 Stats: 4 lines in 2 files changed: 0 ins; 3 del; 1 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
