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

Home » Public Forums » archive » Re: Widget Bug
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Widget Bug [message #21993] Thu, 12 October 2000 00:00
promashkin is currently offline  promashkin
Messages: 169
Registered: December 1999
Senior Member
Nice pictures, Bernard. I noticed, however, that a user tends to get
frustrated when there are more than 1-2 interactive alphanumeric fields
in a GUI. They begin to mix up values, put strings into numerical fields
and click randomly and frantically. I'd provide a map with crosshairs
for Lat-Long, and sliders for local min and max. And of course, project
name needs to default to the user's first name, and site name to "Kodak
- RSI" :-)
Cheers,
Pavel
Re: Widget Bug [message #21999 is a reply to message #21993] Thu, 12 October 2000 00:00 Go to previous message
Bernard Puc is currently offline  Bernard Puc
Messages: 65
Registered: January 1998
Member
Hello Again,

Sorry to reply to my own post - which means I didn't try hard enough
first to figure this out on my own!

The problem stems from the fact that I realized the object before
applying the offsets, then setting map = 1. I assumed that I had to
realize the object first, in order to get its geometry using widget_info
- this is not the case. By not realizing the object until after the
offsets are applied, the problem disappears. And, now I do not have to
use the map keyword.

Bernard Puc wrote:
>
> Hello,
>
> Has anyone come across the following problem? I have attached two gif
> images of a widget that demonstrate the problem. goodwidget.gif shows
> the widget as it is supposed to look. Note that the buttons are
> centered in their base widget's frame. badwidget.gif is what happens
> when I add to the code a line providing an x and y offset for the top
> level base (in order to center it on the screen). ie, "widget_control,
> tlb, xoffset = xdim, yoffset = ydim"
> Now, all the widgets are aligned with the bottom of their base, and look
> ugly.
> All positioning is done via column or row keywords, the widget is
> unmapped until the offsets are applied.
>
> My IDL: { x86 linux unix 5.3 Nov 11 1999}
>
> --
> Bernard Puc AETC, INC.
> bpuc@va.aetc.com 1225 Jefferson Davis Highway #800
> (703) 413-0500 Arlington, VA 22202
>
> ------------------------------------------------------------ ------------
> [Image] [Image]

--
Bernard Puc AETC, INC.
bpuc@va.aetc.com 1225 Jefferson Davis Highway #800
(703) 413-0500 Arlington, VA 22202
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: SEGY format
Next Topic: Re: 3 data sets and 1 B/W color table. How?

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

Current Time: Wed Oct 08 18:57:10 PDT 2025

Total time taken to generate the page: 0.00524 seconds