Resize Canvas problem

BlitzMax Forums/BlitzMax Programming/Resize Canvas problem

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

It's the SetGadgetLayout command that's causing the problem and specifically EDGE_ALIGNED/RELATIVE as CENTRED works ok.
P.S. You should always Setgraphics again in your gadgetpaint select.
Setgadgetlayout

<EDIT> In fact if you specify EDGE_ALIGNED,0,EDGE_ALIGNED,0 the problem doesn't occur.