comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDL 5 Anomaly Database
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL 5 Anomaly Database [message #9230] Thu, 05 June 1997 00:00
Stein Vidar Hagfors H is currently offline  Stein Vidar Hagfors H
Messages: 32
Registered: May 1997
Member
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
[Message index]
 
Read Message
Previous Topic: IDL 5.0 dialog_pickfile default font
Next Topic: Re: IDL 5.0 observations INSIGHT

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:23:30 PDT 2025

Total time taken to generate the page: 0.00440 seconds