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

Home » Public Forums » archive » Re: IDL's (changing) widget behaviour
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's (changing) widget behaviour [message #7277] Thu, 24 October 1996 00:00 Go to previous message
Robert Moss is currently offline  Robert Moss
Messages: 74
Registered: February 1996
Member
Stein Vidar Hagfors Haugan wrote:
>
*snipped a bunch of stuff with which I sympathize*

>
> And, if anyone out there has some great ideas on how to save space
> in widgets, please speak out...
>
> Stein Vidar

Well, I'd hardly call these _great_ ideas, but here they are for what
they are worth:

1) Allow your users to set the default font size for widgets with
an environment variable. I have this bit of code in the startup file
for my application:

; allow the user to customize the default font for widgets
fontsize = getenv( 'IDL_FONT' )
IF strlen( fontsize ) NE 2 THEN def_font = fontsize ELSE $
def_font = 'lucidasans-'+strtrim( fontsize, 2 )
IF def_font EQ "" THEN def_font = 'lucidasans-12'
if !D.NAME eq 'X' then widget_control,default_font=def_font

This lets them choose a point size for the default lucida-sans
font that I prefer, or set a completely different font of thier
own choosing.

2) Map different parts of your interface to the same part of the screen.
Yes, its not always desireable from an aesthetic point of view, but
it can save real estate. A builtin example of this can be seen in the
behaviour of the SLICER or XLOADCT widget.

--
Robert M. Moss, Ph.D. - mossrm@texaco.com - FAX (713)954-6911
------------------------------------------------------------ -----
This does not necessarily reflect the opinions of Texaco Inc.
[Message index]
 
Read Message
Read Message
Previous Topic: Widget_List resizing problem
Next Topic: IDL's (changing) widget behaviour

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

Current Time: Fri Oct 10 10:18:46 PDT 2025

Total time taken to generate the page: 1.35838 seconds