jeudi 25 janvier 2018

How do I entirely remove the label from a CheckBox?

I want my JavaFX CheckBox to have no label.

Context: it's in the header of a TableColumn and it's (empahsis:) off-center.

I tried removing the label's text, but there's still some space on the right:

CheckBox with space

Next I tried changing the Content Display, but that didn't work either.

How do I get a CheckBox without a label or an extra space?




Aucun commentaire:

Enregistrer un commentaire