Re: width of column id name column
Re: width of column id name column
- Subject: Re: width of column id name column
- From: Christopher Stone <email@hidden>
- Date: Wed, 22 Jun 2011 23:55:44 -0500
On Jun 22, 2011, at 22:40, Robert Poland wrote:
> I can find the length of the text in the column id name column but to set it I need this in pixels, not characters. Since this text is not fixed width a simple conversion multiplier won't work.
______________________________________________________________________
Hey Bob,
I fooled with that years ago and gave it up as a bad job.
The only way I can think of to manage it is to find out the pixel width of each character in the Finder font and create a conversion table. You'll either have to measure them yourself or find out which typeface is being used and see if there's an existing chart.
PITA. :)
I did some looking on the net, and it seems that TCL might have some functions to measure string width in a give font. TCL is way over my head at the moment though.
--
Best Regards,
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden