Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
David Fanning wrote: > > Hi Folks, > > I have organized a place to report IDL 5.0 observations > and bugs on my web page. The direct URL to it is: > > http://www.dfanning.com/documents/anomaly5.html > > I've populated it with some of the most recent reports > from this newsgroup and with a known resizeable widget > bug that I have run into. > Good news, David. I have a "fix" for the widget resizing problem. I had just encountered this problem myself, and found that it can be circumvented by using WIDGET_CONTROL,BASE,UPDATE=0/1 before/after the resizing command(s) is/are issued. My problem was that a widget size was temporarily increased by IDL (in the process of readjusting it's position) each time I changed a widget_label value, and the size of the base it was on kept increasing with every label value update. But if you use e.g., widget_control,event.top,update=0 Widget_Control, info.drawID, Draw_XSize=s(1), Draw_YSize=s(2) widget_control,event.top,/update inside your Switch_Images routine, the widget resizes properly. Cheers, Stein Vidar