parent
ce11d2e263
commit
9ae50df1a4
|
@ -12,10 +12,15 @@ class Main: App(StartupView::class){
|
||||||
private val svc = StartupViewController()
|
private val svc = StartupViewController()
|
||||||
|
|
||||||
override fun start(stage: Stage) {
|
override fun start(stage: Stage) {
|
||||||
super.start(stage)
|
|
||||||
|
stage.minWidth = 1000.00
|
||||||
|
stage.minHeight = 500.00
|
||||||
|
stage.isResizable = false
|
||||||
stage.icons.add(Image("icons/TextureSync_Icon_256x256.jpeg"))
|
stage.icons.add(Image("icons/TextureSync_Icon_256x256.jpeg"))
|
||||||
stage.setOnCloseRequest { System.exit(0) }
|
stage.setOnCloseRequest { System.exit(0) }
|
||||||
stage.scene.stylesheets.add("/css/Styles.css")
|
|
||||||
|
super.start(stage)
|
||||||
|
stage.scene.stylesheets.add("/css/Styles.css") // this call must be after the super call
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -12,7 +12,7 @@ import javafx.scene.paint.Paint
|
||||||
import javafx.scene.layout.Priority
|
import javafx.scene.layout.Priority
|
||||||
import tornadofx.*
|
import tornadofx.*
|
||||||
|
|
||||||
class ImportView : View() {
|
class ImportView : View("TextureSync") {
|
||||||
|
|
||||||
val tfFilePath = JFXTextField()
|
val tfFilePath = JFXTextField()
|
||||||
val tfName = JFXTextField()
|
val tfName = JFXTextField()
|
||||||
|
|
|
@ -10,7 +10,7 @@ import javafx.scene.layout.CornerRadii
|
||||||
import javafx.scene.paint.Paint
|
import javafx.scene.paint.Paint
|
||||||
import tornadofx.*
|
import tornadofx.*
|
||||||
|
|
||||||
class MainView : View() {
|
class MainView : View("TextureSync") {
|
||||||
|
|
||||||
val cvSearch = JFXChipView<String>()
|
val cvSearch = JFXChipView<String>()
|
||||||
val folderView = find(FolderView::class)
|
val folderView = find(FolderView::class)
|
||||||
|
|
|
@ -13,7 +13,7 @@ import javafx.scene.layout.CornerRadii
|
||||||
import javafx.scene.paint.Paint
|
import javafx.scene.paint.Paint
|
||||||
import tornadofx.*
|
import tornadofx.*
|
||||||
|
|
||||||
class StartupView : View("StartupView") {
|
class StartupView : View("TextureSync") {
|
||||||
|
|
||||||
val labelStatus = Label("Verbindung zum Server einrichten")
|
val labelStatus = Label("Verbindung zum Server einrichten")
|
||||||
val spinnerStatus = JFXSpinner()
|
val spinnerStatus = JFXSpinner()
|
||||||
|
|
Loading…
Reference in New Issue