FRQDO
12/06/2018, 1:40 AMparent
of the forwardButton
is null
both within the init
block and in the onBeforeShow()
hook but is a child of the header
, I assume that this could be a bug.
On a side note: Why do we go to the grandparent of the Node
in removeFromParent()
if the button is a direct descendant of the toolbar?
Maybe @edvin can enlighten me?carlw
12/06/2018, 2:29 AMcarlw
12/06/2018, 2:32 AMFRQDO
12/06/2018, 2:33 AMforwardButton
a child of the header
, but the header
is not a parent of the forwardButton
? I’d assume that if you set one, you automatically get the other at pretty much the same time
2. Why does removeFromParent()
check for the parent?.parent
instead of just the parent
when dealing with a Toolbar
?carlw
12/06/2018, 2:55 AMcarlw
12/06/2018, 2:57 AMShan
12/06/2018, 1:55 PMcarlw
12/06/2018, 3:17 PMcarlw
12/06/2018, 3:17 PMShan
12/06/2018, 3:36 PMcarlw
12/06/2018, 3:36 PMShan
12/06/2018, 3:37 PMtitle: String? = null, expanded: Boolean = false, icon: Node? = null, closeable: Boolean = false, op: TitledPane.() -> Unit
Shan
12/06/2018, 3:37 PMcarlw
12/06/2018, 3:38 PMShan
12/06/2018, 3:39 PMcarlw
12/06/2018, 3:42 PMShan
12/06/2018, 3:42 PMcarlw
12/06/2018, 3:43 PMShan
12/06/2018, 5:16 PMcarlw
12/06/2018, 5:28 PMcarlw
12/06/2018, 5:30 PMShan
12/06/2018, 5:30 PMcarlw
12/06/2018, 5:31 PMShan
12/06/2018, 5:31 PMShan
12/06/2018, 5:33 PMShan
12/06/2018, 5:33 PMShan
12/06/2018, 5:34 PMcarlw
12/06/2018, 5:47 PMcarlw
12/06/2018, 5:48 PMiari
12/06/2018, 10:05 PM