Javafx rotate Label issue

前端 未结 2 713
甜味超标
甜味超标 2021-01-18 02:19
  • I have an issue when i try to rotate the label by 270 label.setRotate(270).
  • But label text disappear .

2条回答
  •  轮回少年
    2021-01-18 03:01

    The ... text you are seeing is the default value of ellipsisStringProperty when the text is truncated due to narrow bounds. The label.setMinWidth(200); should solve of the issue of disappearance.

提交回复
热议问题