From 81515d112548ef3bc24a37ad64bcecdc6077a322 Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 23 Jun 2020 17:55:02 +0200 Subject: [PATCH] Added IDs to controls so that clients know where to insert controls --- .../ui/javafx/controls/AccountTransactionsControlView.kt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ui/BankingJavaFxControls/src/main/kotlin/net/dankito/banking/ui/javafx/controls/AccountTransactionsControlView.kt b/ui/BankingJavaFxControls/src/main/kotlin/net/dankito/banking/ui/javafx/controls/AccountTransactionsControlView.kt index a321d25e..4fa17891 100644 --- a/ui/BankingJavaFxControls/src/main/kotlin/net/dankito/banking/ui/javafx/controls/AccountTransactionsControlView.kt +++ b/ui/BankingJavaFxControls/src/main/kotlin/net/dankito/banking/ui/javafx/controls/AccountTransactionsControlView.kt @@ -20,6 +20,10 @@ open class AccountTransactionsControlView( ) : View() { companion object { + const val ControlsRightToSearchFieldPanelId = "ControlsRightToSearchFieldPanel" + + const val ShowTransferMoneyDialogButtonId = "ShowTransferMoneyDialogButton" + const val PanelHeight = 36.0 } @@ -46,6 +50,8 @@ open class AccountTransactionsControlView( } right = hbox { + id = ControlsRightToSearchFieldPanelId + alignment = Pos.CENTER_LEFT hbox { @@ -82,6 +88,8 @@ open class AccountTransactionsControlView( } addButton { + id = ShowTransferMoneyDialogButtonId + useMaxHeight = true enableWhen(supportsTransferringMoney)