Add application icon
This commit is contained in:
parent
1ab6ef453a
commit
3939021285
@ -12,6 +12,7 @@ import com.marvinelsen.willow.ui.util.SearchService
|
||||
import javafx.application.Application
|
||||
import javafx.fxml.FXMLLoader
|
||||
import javafx.scene.Scene
|
||||
import javafx.scene.image.Image
|
||||
import javafx.scene.layout.BorderPane
|
||||
import javafx.scene.text.Font
|
||||
import javafx.stage.Stage
|
||||
@ -69,6 +70,7 @@ class WillowApplication : Application() {
|
||||
minWidth = WINDOW_MIN_WIDTH
|
||||
minHeight = WINDOW_MIN_HEIGHT
|
||||
scene = primaryScene
|
||||
icons.add(Image(javaClass.getResourceAsStream("/img/icon.png")))
|
||||
}.show()
|
||||
}
|
||||
|
||||
|
BIN
src/main/resources/img/icon.png
Normal file
BIN
src/main/resources/img/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 65 KiB |
BIN
src/main/resources/img/logo.xcf
Normal file
BIN
src/main/resources/img/logo.xcf
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user