How to display GridPane object grid lines permanently, and without using the setGridLinesVisible() method?

前端 未结 4 1565
太阳男子
太阳男子 2021-01-18 02:31

Is it possible to make all GridPane\'s grid lines permanently visible without using setGridLinesVisible()?

I know that setGridLinesVisible()

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-18 02:51

    This worked for me:

    GridPane grid = new GridPane();
    grid.setGridLinesVisible(true);
    

    for debug only!

提交回复
热议问题