JavaFX Panel inside Panel auto resizing

前端 未结 6 419
悲&欢浪女
悲&欢浪女 2020-12-04 14:32

I have a JavaFX application which has only one FXML file. In this file I have one AnchorPane which has a StackPane inside it. Here is the screenshot:

6条回答
  •  春和景丽
    2020-12-04 14:58

    No need to cede.

    just select pane ,right click then select Fit to parent.

    It will automatically resize pane to anchor pane size.

提交回复
热议问题