Added IDs to controls so that clients know where to insert controls

This commit is contained in:
dankito 2020-06-23 17:55:02 +02:00
parent 1007636a8e
commit 81515d1125
1 changed files with 8 additions and 0 deletions

View File

@ -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)