Steps to reproduce:
- Create custom widget
- Remove the default CanvasPanel
- Save and compile
- Close Editor
- Reopen same project and open the prior created widget
- CanvasPanel reappears
This is causing some hard to find bugs especially when said custom widget is a child of another widget which already has it’s CanvasPanel doing it’s stuff. The child widget’s CanvasPanel tends to cover the parent widget’s CanvasPanel. There are many cases where the child widget simply changes or extends some logic of the parent and does not need it’s own CanvasPanel.
Took me hours to find what was causing a problem when I changed something seemingly unrelated, saved, and have my widgets disappear because the child widget decided to create it’s own CanvasPanel…