【发布时间】:2015-12-14 13:36:45
【问题描述】:
我正在使用 GridPane 布局在我的应用程序中定位内容。我想知道如何为行中的元素设置边距
GridPane.setConstraints(chip5, 1, 1, 1, 1, HPos.RIGHT, VPos.TOP); //I want to set
// margin for chip5 from top (for example 5px)
在 GridPane 中可以吗?
【问题讨论】: