@ -12,10 +12,15 @@ class Main: App(StartupView::class){
 | 
			
		||||
    private val svc = StartupViewController()
 | 
			
		||||
 | 
			
		||||
    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.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 tornadofx.*
 | 
			
		||||
 | 
			
		||||
class ImportView : View() {
 | 
			
		||||
class ImportView : View("TextureSync") {
 | 
			
		||||
 | 
			
		||||
    val tfFilePath = JFXTextField()
 | 
			
		||||
    val tfName = JFXTextField()
 | 
			
		||||
 | 
			
		||||
@ -10,7 +10,7 @@ import javafx.scene.layout.CornerRadii
 | 
			
		||||
import javafx.scene.paint.Paint
 | 
			
		||||
import tornadofx.*
 | 
			
		||||
 | 
			
		||||
class MainView : View() {
 | 
			
		||||
class MainView : View("TextureSync") {
 | 
			
		||||
 | 
			
		||||
    val cvSearch = JFXChipView<String>()
 | 
			
		||||
    val folderView = find(FolderView::class)
 | 
			
		||||
 | 
			
		||||
@ -13,7 +13,7 @@ import javafx.scene.layout.CornerRadii
 | 
			
		||||
import javafx.scene.paint.Paint
 | 
			
		||||
import tornadofx.*
 | 
			
		||||
 | 
			
		||||
class StartupView : View("StartupView") {
 | 
			
		||||
class StartupView : View("TextureSync") {
 | 
			
		||||
 | 
			
		||||
    val labelStatus = Label("Verbindung zum Server einrichten")
 | 
			
		||||
    val spinnerStatus = JFXSpinner()
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user