Bug in TreeTableCell label rendering when doing cell.setText(null)
Jason Shattu
jshattu at gmail.com
Sun Apr 14 18:26:30 UTC 2019
Hi Guys,
Noticed a problem with TreeTableView that has existed at least from
JavaFX 11, but doesn't exists in JavaFX 8.
On the overridden method for TreeTableCell.updateItem(cell) If you
cell.setText(null) then the graphic node appears fully left justified
regardless of proper indentation although arrows remain in the correct
place.
This doesn't happen for TreeView.
using cell.setText(" ") appears to resolve the issue.
Where is the appropriate place to raise this bug?
You may ask why I am not using the text field, it's because I want
multiple background colours in my text in the cell, so I use the graphic
node to allow me to do this.
Thanks,
Jason
Thanks,
Jason
------ Original Message ------
From: "Kevin Rushforth" <kevin.rushforth at oracle.com>
To: "Johan Vos" <johan.vos at gluonhq.com>; "openjfx-dev at openjdk.java.net
List" <openjfx-dev at openjdk.java.net>
Sent: 12/04/2019 13:19:12
Subject: Re: Review Request: JDK-8222066: Change JavaFX release version
to 11.0.3 in 11-dev
>+1
>
>On 4/12/2019 1:22 AM, Johan Vos wrote:
>>Hi Kevin,
>>
>>Please review http://cr.openjdk.java.net/~jvos/8222066/webrev.00/ which fixes https://bugs.openjdk.java.net/browse/JDK-8222066
>>
>>- Johan
>
More information about the openjfx-dev
mailing list