Problems creating a field in LC8 DP16
Trevor DeVore
lists at mangomultimedia.com
Fri Mar 18 18:08:25 EDT 2016
On Thu, Mar 17, 2016 at 9:58 PM, William Prothero <prothero at earthednet.org>
wrote:
> Folks:
> My plot routines use fields as labels. Fields are created on the fly, the
> plot image is captured, and the fields are deleted. In LC8 DP16, I find
> that the field heights are messed up. I create the field and put text in it
> using the following function:
>
> I know that fields work differently in version 8, but I thought the
> formattedHeight and formattedWidth should adjust the rect to make all of
> the text visible. This works fine in version 7
>
Bill,
Changes were made to how formattedHeight is calculated in LC 8. There are
issues with figuring out the formattedHeight for some fonts though. See the
comments on this commit:
https://github.com/livecode/livecode/pull/3633
I would suggest filing a bug report.
--
Trevor DeVore
ScreenSteps
www.screensteps.com - www.clarify-it.com
More information about the use-livecode
mailing list