Replaced minHeight / maxHeight combo by fixedHeight
This commit is contained in:
parent
fde728b72e
commit
0e2406c9b7
|
@ -6,6 +6,7 @@ import javafx.scene.input.KeyCodeCombination
|
|||
import javafx.scene.input.KeyCombination
|
||||
import net.dankito.banking.ui.model.Account
|
||||
import net.dankito.banking.ui.presenter.MainWindowPresenter
|
||||
import net.dankito.utils.javafx.ui.extensions.fixedHeight
|
||||
import tornadofx.*
|
||||
|
||||
|
||||
|
@ -25,8 +26,7 @@ open class MainMenuBar(protected val presenter: MainWindowPresenter) : View() {
|
|||
|
||||
override val root =
|
||||
menubar {
|
||||
minHeight = 30.0
|
||||
maxHeight = 30.0
|
||||
fixedHeight = 30.0
|
||||
|
||||
menu(messages["main.window.menu.file"]) {
|
||||
menu(messages["main.window.menu.file.new"]) {
|
||||
|
|
|
@ -152,8 +152,7 @@ open class AddAccountDialog(protected val presenter: MainWindowPresenter) : Wind
|
|||
alignment = Pos.CENTER_RIGHT
|
||||
|
||||
button(messages["cancel"]) {
|
||||
minHeight = ButtonHeight
|
||||
maxHeight = ButtonHeight
|
||||
fixedHeight = ButtonHeight
|
||||
prefWidth = ButtonWidth
|
||||
|
||||
isCancelButton = true
|
||||
|
@ -166,8 +165,7 @@ open class AddAccountDialog(protected val presenter: MainWindowPresenter) : Wind
|
|||
}
|
||||
|
||||
add(checkCredentialsButton.apply {
|
||||
minHeight = ButtonHeight
|
||||
maxHeight = ButtonHeight
|
||||
fixedHeight = ButtonHeight
|
||||
prefWidth = ButtonWidth
|
||||
|
||||
isDefaultButton = true
|
||||
|
|
Loading…
Reference in New Issue