Re: Adjusting the size of cards in a stack

2014-07-27 Thread Peter Haworth
Very nice, thanks for that. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Jul 27, 2014 at 9:43 AM, hh wrote: > I made a stack that demonstrates a bug with windowShape

Re: Adjusting the size of cards in a stack

2014-07-27 Thread hh
I made a stack that demonstrates a bug with windowShape for the quality center. Works for 6.6.2, minor bug with LC 6.7 (dp6), full bug with LC 7.0 (dp7). The stack has constant size (width x height) but the cards are switching their size (width and height) and shape by setting the windowShape. (L

Re: Adjusting the size of cards in a stack

2014-07-26 Thread hh
> [Scott wrote] > I thought you were saying you somehow managed to create cards of varying > sizes in a stack A step in the direction you think of could be to have a never changing stackwindow (even of screen size) and then to use a different windowshape for each card. Don't you know one who has

Re: Adjusting the size of cards in a stack

2014-07-08 Thread Peter Haworth
Thanks Dave, that works great. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Jul 8, 2014 at 4:02 PM, Dave Kilroy wrote: > Pete - you can use the effective rect and com

Re: Adjusting the size of cards in a stack

2014-07-08 Thread Scott Rossi
Sure. I thought you were saying you somehow managed to create cards of varying sizes in a stack, but really we're just talking about stack size, not card size. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/8/14 3:50 PM, "Peter Haworth" wrote: >That's normally the

Re: Adjusting the size of cards in a stack

2014-07-08 Thread Dave Kilroy
Pete - you can use the effective rect and compare that with the rect: --app window size (including borders and title bar) put the rect of stack "xyz" into tAppRect1 put the effective rect of stack "xyz" into tAppRect2 put item 1 of tAppRect1 - item 1 of tAppRect2 into tWindowB

Re: Adjusting the size of cards in a stack

2014-07-08 Thread Peter Haworth
That's normally the case but you can change the dimensions when the card is opened. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Jul 8, 2014 at 2:27 PM, Scott Rossi wr

Re: Adjusting the size of cards in a stack

2014-07-08 Thread Peter Haworth
It's the first time I've done this, preferring to use substacks normally but it makes sense in this case because I have a shared group which must appear on every card. In an earlier post I mentioned I was having problems with the formattedHeight in this context. I just remembered that the formatt

Re: Adjusting the size of cards in a stack

2014-07-08 Thread kee nethery
On Jul 8, 2014, at 2:27 PM, Scott Rossi wrote: > > On 7/8/14 9:44 AM, "Peter Haworth" wrote: > >> I have a stack with two cards in it each of which is a different size. > > > I've been trying to understand how this is possible. Do you mean you're > adjusting the stack dimensions to accommod

Re: Adjusting the size of cards in a stack

2014-07-08 Thread Scott Rossi
On 7/8/14 9:44 AM, "Peter Haworth" wrote: >I have a stack with two cards in it each of which is a different size. I've been trying to understand how this is possible. Do you mean you're adjusting the stack dimensions to accommodate content of different dimensions on each card? AFAIK, all car

Re: Adjusting the size of cards in a stack

2014-07-08 Thread Peter Haworth
On Tue, Jul 8, 2014 at 10:31 AM, Robert Brenstein wrote: > When you have 2 cards of different sizes, it might be simpler to just have > two stacks (substacks) and switch between them rather than fiddle with > resizing. That's what I usually do but it makes sense to have multiple cards in the sa

Re: Adjusting the size of cards in a stack

2014-07-08 Thread Robert Brenstein
On 08.07.2014 at 9:44 Uhr -0700 Peter Haworth apparently wrote: I tried that, using the formattedwidth and formattedHeight of the card as theCardWIdth and theCardHeight (plus a few extra pixels for aesthetics). Strangely, that works for one card but the height is incorrect ( less than it should

Re: Adjusting the size of cards in a stack

2014-07-08 Thread Richmond
I must be missing something: http://forums.livecode.com/viewtopic.php?f=7&t=20989 Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://l

Re: Adjusting the size of cards in a stack

2014-07-08 Thread Peter Haworth
I tried that, using the formattedwidth and formattedHeight of the card as theCardWIdth and theCardHeight (plus a few extra pixels for aesthetics). Strangely, that works for one card but the height is incorrect ( less than it should be) for the other card. Maybe a bug? To my way of thinking, the w

Re: Adjusting the size of cards in a stack

2014-07-07 Thread Trevor DeVore
On Monday, July 7, 2014, Peter Haworth wrote: > I have a stack with two cards in it each of which is a different size. > I've been trying to adjust the size of each card in preOpenCard handlers > without affecting the card's previous display location. Just adjust the stack rect. Put the rect