是否可以将网格窗格扩展到最大宽度和高度?
我有以下内容:
<fx:root type="javafx.scene.layout.AnchorPane" xmlns:fx="http://javafx.com/fxml"
stylesheets="view/Style.css">
<children>
<GridPane xmlns:fx="http://javafx.com/fxml"
AnchorPane.topAnchor="0.0" AnchorPane.bottomAnchor="128.0"
AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
hgap="10" vgap="10">
<!--anything-->
</GridPane>
</children>
</fx:root>
我想将网格窗格扩展到锚窗格确定的限制(所以除了下部之外的整个屏幕)