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 tWindowBorder put item 2 of tAppRect1 - item 2 of tAppRect2 into tWindowTitle
Peter Haworth wrote > 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 ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Adjusting-the-size-of-cards-in-a-stack-tp4680913p4680943.html Sent from the Revolution - User mailing list archive at Nabble.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