Re: Card auto sizing

2013-02-27 Thread Richmond
On 02/27/2013 08:03 PM, Mark Wieder wrote: Richmond writes: However, aesthetically, that would look unattractive, and a bit of padding might make things better: Agreed, but that wasn't the Original Question. Since when have you known me to answer the original question? And . . . not wanti

Re: Card auto sizing

2013-02-27 Thread Mark Wieder
Richmond writes: > However, aesthetically, that would look unattractive, and a bit of > padding might make things better: Agreed, but that wasn't the Original Question. -- Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-l

Re: Card auto sizing

2013-02-27 Thread Richmond
On 02/27/2013 07:32 PM, Mark Wieder wrote: It it possible to auto size a card to the size of a field of that card ? ...or you could simply say on mouseUp set the width of this stack to the width of field 1 set the height of this stack to the height of field 1 set the loc of field

Re: Card auto sizing

2013-02-27 Thread Mark Wieder
> > It it possible to auto size a card to the size of a field of that card ? ...or you could simply say on mouseUp set the width of this stack to the width of field 1 set the height of this stack to the height of field 1 set the loc of field 1 to the loc of this card end mouseUp --

Re: Card auto sizing

2013-02-27 Thread Björnke von Gierke
you can't set the card's rectangle, and the stack uses a different coordination system. So you need to convert using globalLoc which is the inverse of localLoc. on mouseUp lock screen --gather and set coordinates for stack put the globalLoc of the topleft of field 1 into partOne put t

Card auto sizing

2013-02-27 Thread Camm
It it possible to auto size a card to the size of a field of that card ? If so , what is the best way please. Regards Camm ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage