RFR: 8092102: Labeled: textTruncated property [v15]

Karthik P K kpk at openjdk.org
Tue May 7 15:34:00 UTC 2024


On Tue, 7 May 2024 14:56:57 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> modules/javafx.controls/src/main/java/com/sun/javafx/scene/control/skin/Utils.java line 218:
>> 
>>> 216:      * Computes the actual text to be shown in the Labeled with the text wrapping disabled:
>>> 217:      * unmodified if it fits into available area,
>>> 218:      * or with the ellipsis string inserted into strategic place(s) if it does not.
>> 
>> ellipsis string can be referenced similar to textTruncated?
>
> Can you please clarify your question?  I don't understand.

I wanted to check, In this line: "or with the ellipsis string inserted into strategic place(s) if it does not.", can we add reference to ellipsisString parameter similar to how we have reference to textTruncated parameter.

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1389#discussion_r1592685851


More information about the openjfx-dev mailing list