SetGadgetShape and Canvas objects

BlitzMax Forums/BlitzMax GUI Programming/SetGadgetShape and Canvas objects

It appears that there is an issue with using SetGadgetShape to enlarge a Canvas object. When drawing into the newly enlarged region of the canvas the graphics are corrupted. making the canvas smaller seems to work okay.

SetGadgetShape should probably recreate a entirely new canvas object.

Are you calling SetViewport before the Cls in your canvas drawing code?

Good call, thanks so much!