Adjusting the size of cards in a stack

Peter Haworth pete at lcsql.com
Tue Jul 8 18:50:02 EDT 2014


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
formattedHeight does not include the height of the title bar at the top of
the stack so I'm pretty sure that's what is causing the problem.
 Unfortunately, I think the title bar is a different height on different
platforms

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 Tue, Jul 8, 2014 at 2:47 PM, kee nethery <kee at kagi.com> wrote:

> On Jul 8, 2014, at 2:27 PM, Scott Rossi <scott at tactilemedia.com> wrote:
>
> >
> > On 7/8/14 9:44 AM, "Peter Haworth" <pete at lcsql.com> 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?
>
> yes. that is what I do also. When the various cards in one of my stacks
> need to be displayed in different sizes, I have a command in opencard in
> every card script, that tells it to set the stack size for the dimensions
> for that specific card.
>
> Kee
>
> > AFAIK, all cards in a stack are the same size.
> >
> > Regards,
> >
> > Scott Rossi
> > Creative Director
> > Tactile Media, UX/UI Design
> >
> >
> >
> > _______________________________________________
> > 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