ron
08/30/2016, 7:27 PMedvin
08/30/2016, 7:33 PMdisplay: none
I think you might be better off by actually removing and adding the node. TornadoFX has a Node.removeFromParent()
function that makes it a bit easier.Ruckus
08/30/2016, 7:33 PMedvin
08/30/2016, 7:33 PMedvin
08/30/2016, 7:34 PMRuckus
08/30/2016, 7:35 PMfold("test", VBox()) { label("test") }
the Label is being added in the scope of the TitlePane, not the VBox. I'm guessing the space left over was exactly the width of the label.ron
08/30/2016, 7:37 PMedvin
08/30/2016, 7:57 PMthomasnield
08/30/2016, 7:59 PMfrosch95
08/30/2016, 7:59 PMron
08/30/2016, 8:00 PMron
08/30/2016, 8:00 PMRuckus
08/30/2016, 8:03 PMfrosch95
08/30/2016, 8:09 PMthomasnield
08/30/2016, 8:15 PMRuckus
08/30/2016, 8:21 PMedvin
08/30/2016, 8:27 PMedvin
08/30/2016, 8:28 PMedvin
08/30/2016, 8:37 PMjonathan
08/30/2016, 8:50 PMjonathan
08/30/2016, 8:50 PMedvin
08/30/2016, 8:54 PMExpanderTableColumn
sounds clunky. It is mostly an internal implementation detail, but still.Ruckus
08/30/2016, 8:56 PMedvin
08/30/2016, 8:58 PMUIComponent
has internal fun callOnUndock()
for that purpose, but it might not be needed. I haven't looked at your new implementation yet, but if UIComponent.muteDocking
is triggered, that would prevent the normal undock call from reaching the UIComponent. Could that be the case? In normal circumstances just changing the parent of the view root would trigger the undock call.jonathan
08/30/2016, 8:58 PMRuckus
08/30/2016, 9:00 PMmuteDocking
is set to true
at the beginning of the transition and false
at the end to make sure no strange cleanup code was called before the transition completed.edvin
08/30/2016, 9:00 PMcreateDefaultSkin
method to return the ExpandableTableRowSkin
. Would you try to avoid creating a skin altogether? I did this mostly because I have to deal with custom layouts (I implemented computePrefHeight
and layoutChildren
in the skin).jonathan
08/30/2016, 9:01 PM