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

Home » Public Forums » archive » Re: widget font size?
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 font size? [message #5068] Wed, 27 September 1995 00:00
Anne Martel is currently offline  Anne Martel
Messages: 10
Registered: May 1995
Junior Member
"Ian E. Sprod" <Ian.Sprod@gsfc.nasa.gov> wrote:
>
> Hi,
>
> Anyone know how an IDL widget decides which font to use on an X-windows
> machine? How can the font be specified explicitly?
>
> Thanks,
>
> Ian
>
> --
>
> Ian E. Sprod | 301-286-8036 | FAX 301-286-1616 | ian@skye.gsfc.nasa.gov
>


The widget builder, wided, allows you to browse through a whole list
of Xfonts for each text item you define. This way you can play around
with different fonts to get the look you want.

If you then create the .pro file you can see that the format for the
widget command looks like this:

LABEL105 = WIDGET_LABEL( Main_base, $
FONT='-adobe-helvetica-bold-r-normal--20-140-100-100-p-105-i so8859-1', $
UVALUE='LABEL105', $
VALUE='Text label')


------------------------------------------------------------ -----------------
Anne Martel
Department of Medical Physics Tel: +44 (0) 115 924 9924 x 41277
Queen's Medical Centre Fax: +44 (0) 115 942 2745
Nottingham, UK e-mail: Anne.Martel@Nottingham.ac.uk
NG7 2UH
------------------------------------------------------------ -----------------
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: MIP routine
Next Topic: Resizing Mac base widgets

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

Current Time: Wed Oct 08 15:39:40 PDT 2025

Total time taken to generate the page: 0.00549 seconds