Grouped objects limit?
Posted: Wed Jun 01, 2022 3:30 am
Last summer I published a freeware Win/Mac music app with a fixed window size of 1076x716, every pixel of which was needed to squeeze everything – several hundred objects – into that available space. Stupidly – until enlightened just today by a very polite user – I’d overlooked that for folks using 12- or 13-inch laptops the bottom vertical inch or so of the window would be cut off and impossible to view.
My first thought was this: (1) Group the entire contents of the card into a single mega-group; (2) Add to that mega-group a vertical scrollbar; (3) in the preOpenStack identify the working screenRect and allow the vertical dimension of the window to resize accordingly. My assumption was that the group scrollbar would kick in when the height of the resized window was less than the height of the group.
Inasmuch as the stuff at the bottom of the window are real-time animations on a piano keyboard of the notes being sounded, needing to scroll down to view these is far less than ideal.
Yet here’s the thing: When I try to group the entire contents of the card, LC 9.6.7 balks with a beep and refuses to create the group.
So does anyone know whether there is a limit to the number of objects (some of which are already in subgroups) that can be grouped on a single LC card? Otherwise, I don't know how to enable scrolling the entire contents of the card window to accommodate smaller screens.
I suppose that I could create a separate miniaturized version for folks with 12-/13-inch screens, but I seriously doubt that there's enough demand to warrant the hassle of redesign and code-signing. So for now, I’ve just added a note to the download website that a 15-inch screen is required.
jeff k
My first thought was this: (1) Group the entire contents of the card into a single mega-group; (2) Add to that mega-group a vertical scrollbar; (3) in the preOpenStack identify the working screenRect and allow the vertical dimension of the window to resize accordingly. My assumption was that the group scrollbar would kick in when the height of the resized window was less than the height of the group.
Inasmuch as the stuff at the bottom of the window are real-time animations on a piano keyboard of the notes being sounded, needing to scroll down to view these is far less than ideal.
Yet here’s the thing: When I try to group the entire contents of the card, LC 9.6.7 balks with a beep and refuses to create the group.
So does anyone know whether there is a limit to the number of objects (some of which are already in subgroups) that can be grouped on a single LC card? Otherwise, I don't know how to enable scrolling the entire contents of the card window to accommodate smaller screens.
I suppose that I could create a separate miniaturized version for folks with 12-/13-inch screens, but I seriously doubt that there's enough demand to warrant the hassle of redesign and code-signing. So for now, I’ve just added a note to the download website that a 15-inch screen is required.
jeff k