Grouped Fields and the formattedHeight
Igor Couto
igor at pixelmedia.com.au
Wed Jun 25 19:15:01 EDT 2003
Dear Jacqueline,
On Thursday, June 26, 2003, at 12:48 AM, J. Landman Gay wrote:
>> So what happened was that the FIRST time I set the textSize property
>> of the GROUP, the change in point size was not seen at the field's
>> level - even though Revolution showed the font in the appropriate
>> size in the screen. When a SECOND change was applied to the field
>> (changing the height of the field itself), then Revolution suddenly
>> realised that the point size of the field had, indeed, changed.
>
> Is the fixedLineHeight of the fields set to true? You'll get uneven
> results if it isn't. The textheight doesn't really "take" without a
> fixed line height.
>
Do you think these are bugs? Should I report them? Or am I missing
something?
Again, the problems:
1) changing the textFont of a group, and then the textSize of a group,
and then getting the formattedHeight of a field in the group yields a
wrong value.
2) removing the textFont property of the group (setting it to 'empty'),
ALSO removes the textSize.
Is this the way things are supposed to work?
--
Igor
----------------------------------
igor at pixelmedia.com.au
----------------------------------
More information about the use-livecode
mailing list