如何设置窗口的最小尺寸?我尝试设置该minHeight
minWidth
值,但我仍然可以使用鼠标在此值下调整窗口的大小。
这是我的 FXML 根窗格:
<BorderPane fx:id="borderPane"
minHeight="200" minWidth="400" prefHeight="600" prefWidth="800"
xmlns="http://javafx.com/javafx/null"
xmlns:fx="http://javafx.com/fxml/1"
fx:controller="simulation.Simulation_Controller">
</BorderPane>