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

Home » Public Forums » archive » Re: CENTERING TEXT
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: CENTERING TEXT [message #13046 is a reply to message #13045] Fri, 02 October 1998 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
David Foster (foster@bial1.ucsd.edu) writes:

> David Sheerin wrote:
>>
>> Hi
>>
>> Can anyone tell me how to center text in a text widget?
>> Thanks for any help received.
>>
>> David
>
> David -
>
> I'm procrastinating, so here's a little procedure to do this...

Alas, this didn't work for me, given that my default font
is a proportionally spaced font. In fact, the text got cut
off. Apparently the character that is used to count "spaces"
is much smaller than the actual characters in my string.

In any case, I think centering text in a text widget is
probably impossible with proportionally spaced fonts.

Cheers,

David
----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438, Toll-Free Book Orders: 1-888-461-0155
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: call_external with PASCAL calling convention
Next Topic: Would you consider this a bug?

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

Current Time: Sat Nov 29 15:46:10 PST 2025

Total time taken to generate the page: 1.20362 seconds