formattedWidth

Scott Rossi scott at tactilemedia.com
Thu Jul 10 18:52:33 EDT 2014


Actually, the dictionary entry is correct.  The property gets the width of
a rectangle that encompasses all visible objects, not the rect of the
objects.

Horse = beaten yet?  :-)

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/10/14 2:49 PM, "Peter Haworth" <pete at lcsql.com> wrote:

>Yes, I think the problem is with the dictionary entry for formattedWidth
>since it claims the formattedWidth of a card is the rectangle that
>contains
>all its visible objects, which is not true.
>
>Pete
>lcSQL Software <http://www.lcsql.com>
>Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
>SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
>
>
>On Thu, Jul 10, 2014 at 12:27 PM, Scott Rossi <scott at tactilemedia.com>
>wrote:
>
>> FormattedWidth and height are purely width and height measurements.
>>They
>> don't provide object any position information.
>>
>> For object positions, use either the rect or formattedRect
>>(cards/groups)
>> properties.
>>
>> Regards,
>>
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>>
>>
>>
>>
>> On 7/10/14 12:12 PM, "Richmond" <richmondmathewson at gmail.com> wrote:
>>
>> >I cannot for the life of me understand why the formattedWidth of the
>> >card does not correspond
>> >to item 1 of the loc of the 'furthest West' control, or its LEFT.
>>
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>_______________________________________________
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode






More information about the use-livecode mailing list