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

Home » Public Forums » archive » Re: Widget Weirdness
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: Widget Weirdness [message #65799 is a reply to message #65642] Wed, 18 March 2009 15:24 Go to previous message
Robert Moss, PhD is currently offline  Robert Moss, PhD
Messages: 29
Registered: November 2006
Junior Member
On Mar 13, 3:49 pm, David Fanning <n...@dfanning.com> wrote:
> David Fanning writes:
>> *NOW* what happens is that the widget jumps back to
>> its starting position, but only *SOME* of the time.
>> This is unreal!! Apparently now there is some interaction
>> going on, such that if the text of the label widget changes
>> its length "appreciably" then this jumpy behavior occurs,
>> but if the text is the same length as the previous text,
>> the jumpy behavior doesn't occur.
>
> OK, I think I have a handle on this now. On UNIX,
> if you position a TLB widget on the display with
> XOFFSET and YOFFSET keywords, and that widget program
> has a label widget rendered in its "natural" size
> (ie., you have not specified a size), and the label widget
> has the DYNAMIC_RESIZE keyword set for it, then if you
> change the text on that label widget to an appreciably
> different size, the TLB widget will jump back to its
> original starting position.
>
> One way around the problem is to assign a size to the
> label widget. Another way around the problem is
> to not position the TLB widget on the display (ugly).
>
> If you think I have gone completely off my rocker,
> you can have a look yourself. You can find my test
> program here:
>
>   http://www.dfanning.com/misc/jumpywidget.pro
>
> Run it like this:
>
>    IDL> void = jumpywidget()
>
> Or, to see it work correctly:
>
>    IDL> void = jumpywidget(/NoJumping)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

I beleive you, but I still think you are off your rocker :P
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mac Widget Limitation?
Next Topic: Double precision

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

Current Time: Wed Oct 08 19:22:06 PDT 2025

Total time taken to generate the page: 0.00468 seconds