use of bisq.desktop.components.BsqAddressTextField in project bisq-desktop by bisq-network.
the class FormBuilder method addLabelBsqAddressTextField.
public static Tuple2<Label, BsqAddressTextField> addLabelBsqAddressTextField(GridPane gridPane, int rowIndex, String title, double top) {
Label label = addLabel(gridPane, rowIndex, title, top);
BsqAddressTextField addressTextField = new BsqAddressTextField();
GridPane.setRowIndex(addressTextField, rowIndex);
GridPane.setColumnIndex(addressTextField, 1);
GridPane.setMargin(addressTextField, new Insets(top, 0, 0, 0));
gridPane.getChildren().add(addressTextField);
return new Tuple2<>(label, addressTextField);
}
Aggregations