Open WebFreak001 opened 3 years ago
Sometimes it's useful to remove all widgets from a widget (such as a dynamic list of a vertical layout recomputing all results)
A function for this on widget would be useful (and could be made more efficient) instead of manually iterating over children and calling removeWidget.
a new removeAllChildren function does this, it is less than perfect though.
what might work better is to substitute a container thing in there but we'll see with a lil more practice
Sometimes it's useful to remove all widgets from a widget (such as a dynamic list of a vertical layout recomputing all results)
A function for this on widget would be useful (and could be made more efficient) instead of manually iterating over children and calling removeWidget.