Vertical adjustment of specific field text?
keith.clarke at clarkeandclarke.co.uk
Thu May 12 05:04:33 EDT 2011
Thanks John, textShift will solve my problem very nicely.
Strange that the Dictionary didn't return anything when I searched on 'superscript' or 'subscript' - as they're both in the description of shiftText?!?
I don't see any Preferences settings to prevent the Dictionary from searching all fields - am I missing a trick here?
On 12 May 2011, at 09:25, John Dixon wrote:
> have a look at textShift in the dictionary...
> be well
>> Hi folks,
>> Is there any way to adjust the vertical alignment of specific text within a field - such as lifting a word by 2 pixels?
>> I'm using a simple scrollable list to provide (static) navigate between cards on a stack. Each row comprises 3 space characters (the first space overwritten using imageSource to show a 16px icon for the card) followed by the Card's name (in a 12px font).
>> The list is OK but it would look better if the text could be 'lifted' by just a couple of pixels to align vertically with the centre of the icon - and changing margins doesn't help as this affects the icon as well as the text.
>> Maybe it will just have to wait until I have time to replace the navigation with a more sophisticated data grid form?
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode