Replaced + Button by AddButton

This commit is contained in:
dankl 2020-01-11 14:38:36 +01:00 committed by dankito
parent 23bb4c1b41
commit 6b68f1a1f5
1 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@ package net.dankito.banking.ui.javafx.controls
import javafx.geometry.Pos import javafx.geometry.Pos
import net.dankito.banking.ui.presenter.MainWindowPresenter 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.fixedHeight
import net.dankito.utils.javafx.ui.extensions.fixedWidth import net.dankito.utils.javafx.ui.extensions.fixedWidth
import tornadofx.* import tornadofx.*
@ -21,7 +22,7 @@ open class AccountsView(protected val presenter: MainWindowPresenter) : View() {
} }
} }
right = button("+") { right = addButton(fontSize = 14.0) {
fixedHeight = 32.0 fixedHeight = 32.0
fixedWidth = 32.0 fixedWidth = 32.0