carlw
05/23/2017, 7:57 PMcarlw
05/23/2017, 7:58 PMedvin
05/23/2017, 8:00 PMedvin
05/23/2017, 8:01 PMedvin
05/23/2017, 8:01 PMHBox spacing + alignment, Button action function reference▾
edvin
05/23/2017, 8:04 PMedvin
05/23/2017, 8:06 PMalexp11223
05/24/2017, 1:44 PMfind<...>..openWindow()
)
As I understand it is property of JavaFX stage
, but how do I access it in tornadofx?
I see primaryStage
but looks like it is the main window. And modalStage
doesn't seem to affect anythingnimakro
05/24/2017, 1:54 PMoverride fun createPrimaryScene(view: UIComponent) = Scene(view.root, 300, 300)
in your App
class if you only want to set the size of the Opening view you can set the prefHeight
and prefWidth
in the view class you want to open?alexp11223
05/24/2017, 1:57 PMnimakro
05/24/2017, 2:01 PMopenInternalWindow
the window is not resealable as fare as I know and then you can define your initial window size in your individual view class with setting the prefHeight
and prefWidth
at the root node?alexp11223
05/24/2017, 2:03 PMopenWindow()
I can set minWidth/Height
on root node but user still can resize the window to any sizenimakro
05/24/2017, 2:11 PMresizable
to false in your builder call like so
find<View>().openWindow(resizable = false)
alexp11223
05/24/2017, 2:12 PMthomasnield
05/24/2017, 2:14 PMnimakro
05/24/2017, 2:14 PMminWidth
minHeight
in your view Class?alexp11223
05/24/2017, 2:15 PMView
nimakro
05/24/2017, 2:16 PMnimakro
05/24/2017, 2:23 PMthomasnield
05/24/2017, 2:23 PMnimakro
05/24/2017, 2:24 PMthomasnield
05/24/2017, 2:25 PMthomasnield
05/24/2017, 2:25 PMnimakro
05/24/2017, 2:25 PMArch
hehekevinherron
05/24/2017, 2:26 PMkevinherron
05/24/2017, 2:26 PMthomasnield
05/24/2017, 2:26 PMthomasnield
05/24/2017, 2:27 PMthomasnield
05/24/2017, 2:28 PM