[MAXGUI] BIG problem when resizing a window

BlitzMax Forums/BlitzMax Beginners Area/[MAXGUI] BIG problem when resizing a window

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.

Hi!

On my current project I resize all gadgets on my window via setgadgetshape. The problem is thet when I scale the window down again it leaves old "data" from other gadgets on screen.
This looks very odd. When I minimize and maximise the window all is fine again.

I tried "redrawgadget" on all window elements, but the error still shows up. It seems like the lisboxes aren't re-drawn at all! When I move upwards and downwards inside the list, the drawing bug goes away too.

Is there a way to tell bmx to redraw ALL GADGETS like when the windwo comes back from minimize state?
Is there any other workaround to fix this?

I marked the areas pink:


edit:


As you can see on the second picture. The glitch seems to be related to listboxes.

I'm depressed... As the whole app itself works fine. It just looks horrible! :(

Grisu