Our XmasTree benchmark consists of a large table of numerical data. We try to fit as many cells as possible into the visible area, thus we try to leave a minimum amount of extra space around the numbers in the cells.
Following theRT-25267 fix, we noticed that most of the numbers were no longer visible. Some investigation (PERF-379) shows that the numbers had been replaced by ellipses.
There is an API on Labeled to set the ellipsisString. According to the docs, calling setEllipsisString("") should "just display the truncated string", but doing so does not return us to the previous behavior. The numbers are painted again, but have only 2 out of 3 digits painted.
We need a way to request the behavior prior toRT-25267.
I've attached a test case. Running with graphics-scrum #168 (just prior toRT-25267) shows the expected behavior. Running with #169 shows the new behavior, with not all digits being painted.
Following the
There is an API on Labeled to set the ellipsisString. According to the docs, calling setEllipsisString("") should "just display the truncated string", but doing so does not return us to the previous behavior. The numbers are painted again, but have only 2 out of 3 digits painted.
We need a way to request the behavior prior to
I've attached a test case. Running with graphics-scrum #168 (just prior to
- duplicates
-
JDK-8116504 [CSS] : When control containing multiple lines with style -fx-text-overrun:ellipsis, first line cropped
- Closed
- relates to
-
JDK-8125025 [Label] Ellipsis is not working
- Closed
-
JDK-8101897 Improve ellipses performance
- Resolved
-
JDK-8116504 [CSS] : When control containing multiple lines with style -fx-text-overrun:ellipsis, first line cropped
- Closed
-
JDK-8125471 [CheckBox] Rendering of with ellipsis has changed. Rigth offset has increased.
- Closed