Hi Tom, > Am 12.10.2024 um 21:11 schrieb Tom Glod via use-livecode > <use-livecode@lists.runrev.com>: > > Klaus, > > its > > set the layerClipRect ...
"layerClipRect"? To be honest I never heard this before, so thanks a bunch! :-D > On Sat, Oct 12, 2024 at 2:16 PM Klaus major-k via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Hi Randy, >> >>> Am 12.10.2024 um 20:09 schrieb Randy Hengst via use-livecode < >> use-livecode@lists.runrev.com>: >>> >>> What about something like this? >> >> what exactly? >>  >>> >>> take care, >>> randy >>> >>> >>>> On Oct 11, 2024, at 11:34 AM, Klaus major-k via use-livecode < >> use-livecode@lists.runrev.com> wrote: >>>> >>>> Hi Bob, >>>> >>>>> Am 11.10.2024 um 18:29 schrieb Bob Sneidar via use-livecode < >> use-livecode@lists.runrev.com>: >>>>> >>>>> Understood, but if he wants to set the rect of the group so that all >> the objects fit inside it, or at least from top to bottom, he should be >> able to get the rect of the group, then set the second and fourth items to >> the min and max of the other objects in the group. I think he has to set >> the locLoc to true first. >>>> >>>> already tried this, does not work, it will always crop/clip the bottom >> of the group. >>>> >>>> I think I will either set the MARGINS for TOP and BOTTOM of the group >> to negative values. >>>> Or just resize the group and set the scroll to the neccessary amount, >> thanks Craig! >>>> >>>>> Bob S >>>>> >>>>>> On Oct 11, 2024, at 9:24 AM, Craig Newman via use-livecode < >> use-livecode@lists.runrev.com> wrote: >>>>>> >>>>>> Bob. >>>>>> I do not know why Klaus wants to truncate his groups, but I suspect >> it has nothing to do with fitting them onto the card. >>>>>> >>>>>> Craig >>>>>> >>>>>>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode < >> use-livecode@lists.runrev.com> wrote: >>>>>>> >>>>>>> Hmmm… I wrote a handler to determine the rect of all the visible >> objects on a card so I can set the stack rect to that plus margins. It >> involved getting the left, top, right and bottom as seperate values, of >> every visible object, then determining the min and max of each set of >> values as needed. You should be able to something similar. >>>>>>> >>>>>>> Bob S >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> kl...@major-k.de >> >> >> _______________________________________________ >> 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 >> > _______________________________________________ > 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 -- Klaus Major https://www.major-k.de https://www.major-k.de/bass kl...@major-k.de _______________________________________________ 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