fix show/edit descriptor button height

This commit is contained in:
Craig Raw 2022-10-24 12:51:21 +02:00
parent d9ddc74d73
commit d1ff8d6e3e

View file

@ -204,6 +204,8 @@ public class SettingsController extends WalletFormController implements Initiali
editDescriptor.managedProperty().bind(editDescriptor.visibleProperty()); editDescriptor.managedProperty().bind(editDescriptor.visibleProperty());
showDescriptor.managedProperty().bind(showDescriptor.visibleProperty()); showDescriptor.managedProperty().bind(showDescriptor.visibleProperty());
showDescriptor.visibleProperty().bind(editDescriptor.visibleProperty().not()); showDescriptor.visibleProperty().bind(editDescriptor.visibleProperty().not());
editDescriptor.prefHeightProperty().bind(scanDescriptorQR.prefHeightProperty());
showDescriptor.prefHeightProperty().bind(scanDescriptorQR.prefHeightProperty());
revert.setOnAction(event -> { revert.setOnAction(event -> {
keystoreTabs.getTabs().removeAll(keystoreTabs.getTabs()); keystoreTabs.getTabs().removeAll(keystoreTabs.getTabs());