Make role details popup readable

This commit is contained in:
sqrrm 2018-11-30 16:15:53 +01:00
parent a0cbfe4d58
commit cbbc723cd1
No known key found for this signature in database
GPG Key ID: 45235F9EF87089EC

View File

@ -69,7 +69,7 @@ class RoleDetailsWindow extends Overlay<RoleDetailsWindow> {
@Override @Override
protected void createGridPane() { protected void createGridPane() {
super.createGridPane(); super.createGridPane();
gridPane.setPadding(new Insets(35, 40, 30, 40)); gridPane.setPadding(new Insets(70, 80, 60, 80));
gridPane.getStyleClass().add("grid-pane"); gridPane.getStyleClass().add("grid-pane");
} }
@ -83,8 +83,8 @@ class RoleDetailsWindow extends Overlay<RoleDetailsWindow> {
FormBuilder.addTopLabelTextField(gridPane, ++rowIndex, Res.get("dao.bond.details.unlockTime"), FormBuilder.addTopLabelTextField(gridPane, ++rowIndex, Res.get("dao.bond.details.unlockTime"),
Res.get("dao.bond.details.blocks", bondedRoleType.getUnlockTimeInBlocks())); Res.get("dao.bond.details.blocks", bondedRoleType.getUnlockTimeInBlocks()));
FormBuilder.addLabelHyperlinkWithIcon(gridPane, ++rowIndex, Res.get("dao.bond.details.link"), FormBuilder.addTopLabelHyperlinkWithIcon(gridPane, ++rowIndex, Res.get("dao.bond.details.link"),
bondedRoleType.getLink(), bondedRoleType.getLink()); bondedRoleType.getLink(), bondedRoleType.getLink(), 0);
FormBuilder.addTopLabelTextField(gridPane, ++rowIndex, Res.get("dao.bond.details.isSingleton"), FormBuilder.addTopLabelTextField(gridPane, ++rowIndex, Res.get("dao.bond.details.isSingleton"),
bsqFormatter.booleanToYesNo(bondedRoleType.isAllowMultipleHolders())); bsqFormatter.booleanToYesNo(bondedRoleType.isAllowMultipleHolders()));