On 6/25/11 2:17 PM, Pete wrote:
I have a number of cards in the same substack that need to be displayed with
different heights and widths. In the preOpenStack handlerr, I have:
set the height of this stack to the formattedheight of this card
set the width of this stack to the formattedwidth of this card
The height and width end up several pixels short of what they need to be.
Adding 10 to the fomattedheight and 20 to the formattedwidth makes things
about right, but
Use the height and width, not the formattedHeight and formattedWidth.
The formatted measurements only include the smallest area that
encompasses all the visible objects objects. If the card objects don't
touch all four sides, the formatted measurements will be smaller than
the card measurements.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode