A window node has the ability to set closebutton and dragbutton, which automatically places nodes for closing and dragging the window.
I would like to keep the dragbutton option but use my own custom node for closebutton. However, because the dragbutton is added after the UI script is read, it "covers up" my closebutton, so I can't place my own clickable node over the drag area.
Is there any way to add a node on top of another node that is added automatically? Or, alternatively, is there a way I can create a a custom node that will have the drag functionality?
The attached image shows the default closebutton. If I remove the closebutton from the window and then add a node in roughly the same place with the same functionality, it doesn't work because the dragbutton area covers it up.