You wanted to get rid of the spaces, correct?
before (using self.clear
)
After (using self.remove_from_parent
):
Again, I just had a quick look (and can look closer in a little bit), but self.remove_from_parent()
removes Form3 from the flow panel in Form2.
Apologies if I have misunderstood, but could you describe what behaviour you were hoping for?