From 6b68f1a1f52c2f5d6740caa9ba63864a855a9bd8 Mon Sep 17 00:00:00 2001 From: dankl Date: Sat, 11 Jan 2020 14:38:36 +0100 Subject: [PATCH] Replaced + Button by AddButton --- .../net/dankito/banking/ui/javafx/controls/AccountsView.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BankingJavaFxControls/src/main/kotlin/net/dankito/banking/ui/javafx/controls/AccountsView.kt b/BankingJavaFxControls/src/main/kotlin/net/dankito/banking/ui/javafx/controls/AccountsView.kt index 611ce6b9..64757a61 100644 --- a/BankingJavaFxControls/src/main/kotlin/net/dankito/banking/ui/javafx/controls/AccountsView.kt +++ b/BankingJavaFxControls/src/main/kotlin/net/dankito/banking/ui/javafx/controls/AccountsView.kt @@ -2,6 +2,7 @@ package net.dankito.banking.ui.javafx.controls import javafx.geometry.Pos import net.dankito.banking.ui.presenter.MainWindowPresenter +import net.dankito.utils.javafx.ui.controls.addButton import net.dankito.utils.javafx.ui.extensions.fixedHeight import net.dankito.utils.javafx.ui.extensions.fixedWidth import tornadofx.* @@ -21,7 +22,7 @@ open class AccountsView(protected val presenter: MainWindowPresenter) : View() { } } - right = button("+") { + right = addButton(fontSize = 14.0) { fixedHeight = 32.0 fixedWidth = 32.0