mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-13 14:50:43 +08:00
Set ui size
This commit is contained in:
parent
c196e36f9b
commit
0d9b14e27b
@ -5,5 +5,8 @@ import tornadofx.View
|
||||
|
||||
class Decorator : View() {
|
||||
|
||||
override val root = JFXDecorator(primaryStage, find<PrimaryView>().root)
|
||||
override val root = JFXDecorator(primaryStage, find<PrimaryView>().root).apply {
|
||||
prefWidth = 1000.0
|
||||
prefHeight = 650.0
|
||||
}
|
||||
}
|
@ -21,9 +21,6 @@ class PrimaryView : View() {
|
||||
|
||||
override val root = borderpane {
|
||||
|
||||
prefWidth = 1000.0
|
||||
prefHeight = 650.0
|
||||
|
||||
left = vbox {
|
||||
|
||||
imageview(Image(PrimaryView::class.java.classLoader.getResourceAsStream("logo.png")))
|
||||
|
Loading…
Reference in New Issue
Block a user