| Re: Problem w/WIDGET_OLH [message #1201] |
Tue, 29 June 1993 13:15 |
gurman
Messages: 82 Registered: August 1992
|
Member |
|
|
offenbrg@trifle.gsfc.nasa.gov (Joel Offenberg) writes:
> I am having a problem using WIDGET_OLH in IDL 3.0.0 on a VAXstation
> 4000/90 running DECWindows Motif and VAX/VMS (Version 5.5). When
> the widget appears, the buttons containing the selection of categories
> appears across the top, as usual. However, the list widget containing
> the topics is to the right of the buttons, not below, and the text window
> is to the right of the list and off-screen.
> This problem only appears on VAXStation 4000/90s. It does not appear on
> any of our VAXStation 3100's, our Sparc 2's nor our Sparc 10. One workstation
> was a VAX 4000/60 before it got upgraded to a model 4000/90, and the problem
> did not occur before the upgrade. It also does not appear when we open a
> window from a 4000/90 onto the console of another workstation.
> I have been told third-hand that RSI has documented this bug, however I do
> not know where it is documented, nor what the fix is. I have been all
> through the documentation that I have. Does anyone know what the fix
> is for this problem? Does anyone know where (if?) the documentation for
> this bug appears?
Try p. 3-54 in the V3 IDL Reference Guide; the X resources
idl.olh_text_width and idl.olh_text_height (measured in units of
characters and lines, respectively) can be put in either
DECW$SM_GENERAL.DAT or (you can create) DECW$XDEFUALTS.DAT.
Joe Gurman
--
J.B. Gurman / Solar Physics Branch / NASA Goddard Space Flight Center /
Greenbelt MD 20771 USA / gurman@uvsp.gsfc.nasa.gov
| Federal employees are prohibited from holding opinions under the Hatch Act.|
| Therefore, any opinions expressed herein are somebody else's. |
|
|
|
|
| Re: Problem w/WIDGET_OLH [message #1205 is a reply to message #1201] |
Tue, 29 June 1993 06:12  |
jacobsen
Messages: 28 Registered: July 1992
|
Junior Member |
|
|
In article <20nosg$hrs@skates.gsfc.nasa.gov> offenbrg@trifle.gsfc.nasa.gov (Joel Offenberg) writes:
I am having a problem using WIDGET_OLH in IDL 3.0.0 on a VAXstation
4000/90 running DECWindows Motif and VAX/VMS (Version 5.5). When
the widget appears, the buttons containing the selection of categories
appears across the top, as usual. However, the list widget containing
the topics is to the right of the buttons, not below, and the text window
is to the right of the list and off-screen.
Try adding the following in the DECWindows Motif equivalent of ".Xdefaults":
idl*olh_text_width: 70
idl*olh_text_height: 25
--
*******************
Chris Jacobsen, Department of Physics, SUNY at Stony Brook
Phone (516) 632-8093, FAX -8101 Bitnet: cjacobsen@sbccmail
jacobsen@xray1.physics.sunysb.edu ALL-IN_ONE: CJACOBSEN
*******************
|
|
|
|
| Re: Problem w/WIDGET_OLH [message #1207 is a reply to message #1205] |
Mon, 28 June 1993 15:54  |
thompson
Messages: 584 Registered: August 1991
|
Senior Member |
|
|
offenbrg@trifle.gsfc.nasa.gov (Joel Offenberg) writes:
> I am having a problem using WIDGET_OLH in IDL 3.0.0 on a VAXstation
> 4000/90 running DECWindows Motif and VAX/VMS (Version 5.5). When
> the widget appears, the buttons containing the selection of categories
> appears across the top, as usual. However, the list widget containing
> the topics is to the right of the buttons, not below, and the text window
> is to the right of the list and off-screen.
> This problem only appears on VAXStation 4000/90s. It does not appear on
> any of our VAXStation 3100's, our Sparc 2's nor our Sparc 10. One workstation
> was a VAX 4000/60 before it got upgraded to a model 4000/90, and the problem
> did not occur before the upgrade. It also does not appear when we open a
> window from a 4000/90 onto the console of another workstation.
> I have been told third-hand that RSI has documented this bug, however I do
> not know where it is documented, nor what the fix is. I have been all
> through the documentation that I have. Does anyone know what the fix
> is for this problem? Does anyone know where (if?) the documentation for
> this bug appears?
The CORRECT answer should be in the FAQ. I've seen this behavior with other
IDL widget programs. Apparently the problem has something to with the widgets
being too big to fit on the screen, so the Motif window manager gets confused.
One workaround was to use a smaller font size using
IDL> WIDGET_CONTROL, DEFAULT_FONT=myfont
but I don't think this has any effect on the ? command.
I've heard that there are supposed to be some commands you can put in your
.Xdefaults file that solves this problem, but I don't know what they are. I
couldn't find any documentation on this in the release notes, but maybe it is
documented in some of the newer manuals.
Bill Thompson
|
|
|
|