kevinherron
05/24/2017, 2:28 PMkevinherron
05/24/2017, 2:28 PMkevinherron
05/24/2017, 2:28 PMthomasnield
05/24/2017, 2:30 PMkevinherron
05/24/2017, 2:30 PMkevinherron
05/24/2017, 2:31 PMkevinherron
05/24/2017, 2:31 PMnimakro
05/24/2017, 2:32 PMedvin
05/24/2017, 2:37 PMalexp11223
05/24/2017, 2:38 PMedvin
05/24/2017, 2:40 PMcurrentWindow
and manipulate the size constraints on that.kastork
05/24/2017, 2:40 PMminWidth
and minHeight
in a with(primaryStage) {...
blockkastork
05/24/2017, 2:41 PMedvin
05/24/2017, 2:41 PMalexp11223
05/24/2017, 2:44 PMWindow
so far.
Weird that it is so complicated to do there, in all others UI frameworks I know (WPF, Qt, ...) it's very easy to do 🙂alexp11223
05/24/2017, 2:45 PMprimaryStage
is the main window. I have multiple windowskastork
05/24/2017, 2:45 PMnimakro
05/24/2017, 2:47 PMedvin
05/24/2017, 2:47 PM(currentWindow as? Stage)?.minHeight = 42
edvin
05/24/2017, 2:48 PMalexp11223
05/24/2017, 2:52 PMoverride fun onDock() {
(currentWindow as Stage).minHeight = 700.0
(currentWindow as Stage).minWidth = 1000.0
but no effectcarlw
05/24/2017, 2:52 PMcarlw
05/24/2017, 2:53 PMalexp11223
05/24/2017, 2:53 PMcarlw
05/24/2017, 2:55 PMalexp11223
05/24/2017, 2:57 PMonDock
doesn't firecarlw
05/24/2017, 2:58 PMcarlw
05/24/2017, 2:58 PMcarlw
05/24/2017, 3:00 PMalexp11223
05/24/2017, 3:01 PMprimaryStage
is the main window. I have multiple windows
anyway right now I am trying to figure out out why onDock doesn't fire in this window (in main windows it works)