Hello!
I have a tricky little problem.
I've got a bunch of frameLayouts stacked inside a columnLayout. Inside each frame is a canvas, and clicking on the canvas should make that frame "active". To represent this, I dynamically change the -borderVisible flag of the frames.
The trouble is that the frames do not redraw correctly. The border does not appear unless I toggle the -visible or -manage flag of the frame or the container, but even here the border is only partially drawn. To make things redraw correctly, I have to do:
frameLayout -e -borderVisible true $frame;
frameLayout -e -collapse true $frame;
frameLayout -e -collapse false $frame;
This seems clunky.
Do any of you ELF-masters out there know the correct way to update controls and layouts, without destroying then rebuilding the entire layout or window?
This seems to be kind of a general problem; I'm seeing similiar redraw glitches when I add/update/change tabLayouts...
Any insight is appreciated.