How do I hide an XML element using brightscript?
I am currently using
m.myElement.visible = false
but this behave like "visibility:hidden" (the element is hidden, but the space is preserved). I am after something like "display: none" where the element is hidden and space is not preserved. I have also used removeChild(), but I find it a bit tedious as I have to find the parent and then find the index of child I want to hide.. Any other easy alternative?