Set app icon

This commit is contained in:
dankito 2020-10-26 14:36:21 +01:00
parent a9bc3522fc
commit f19c3d882e
2 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
package net.dankito.banking.ui.javafx.dialogs.mainwindow package net.dankito.banking.ui.javafx.dialogs.mainwindow
import javafx.scene.control.SplitPane import javafx.scene.control.SplitPane
import javafx.scene.image.Image
import net.dankito.utils.multiplatform.File import net.dankito.utils.multiplatform.File
import net.dankito.banking.fints4kBankingClientCreator import net.dankito.banking.fints4kBankingClientCreator
import net.dankito.banking.ui.javafx.RouterJavaFx import net.dankito.banking.ui.javafx.RouterJavaFx
@ -55,6 +56,8 @@ class MainWindow : View(messages["application.title"]) {
override val root = borderpane { override val root = borderpane {
setStageIcon(Image(MainWindow::class.java.classLoader.getResourceAsStream("icons/AppIconRound.png")))
prefHeight = 620.0 prefHeight = 620.0
prefWidth = 1150.0 prefWidth = 1150.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB