Make a Group Bereft of All Layout Properties

Scott Rossi scott at tactilemedia.com
Fri Feb 5 02:14:28 EST 2016


The group can always clip the objects within it. If you give the group
margins and do the math to scale the object/s within to stay within the
inner rect, you can maintain the objects' graphic effects.  If you don't
want to do the math and move the contained objects independently of the
group, you could try enabling clipsToRect property of the group.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 2/4/16, 10:57 PM, "use-livecode on behalf of Sannyasin
Brahmanathaswami" <use-livecode-bounces at lists.runrev.com on behalf of
brahma at hindu.org> wrote:

>Am I the only one who frequently wishes that groups could be made as a
>kind of class or abstraction? By this I mean, I want to establish a group
>that would, by default,
>
> take the rect of the card (dynamically if it were resized)
>have no border or any graphical properties of any kind as an ³object²
>i.e. the group is an abstactions: a collection of objects, while itself
>not having any UI props at all.
>
>
>
>use case is: You want to place objects into a group, but the objects are
>not bounded, graphical by any rect. You will never be placing this
>particular group to a location as such, only it¹s members.
>
>Currently if you create, for example, a field, set graphic effects etc.
>and want to make it a group so that it can be placed on multiple cards,
>you have to struggle to ward off the group border, the group rect acts as
>a mask that cuts the outglow effect etc.  any attempts to change the size
>of the group using handles then ³messes² with the object inside itŠ
>
>Is there a way to have a group be just a class of objects? with no
>properties that will interfere at all with the objects it contains?
>
>BR
>_______________________________________________
>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