Instantiaing Grouped Controls - Templates - Responsive

Sannyasin Brahmanathaswami brahma at hindu.org
Tue Jun 13 02:53:21 EDT 2017


Mark …Ha! "OOooh Myy Gawd"

had I known this from the beginning it would all have "worked out of the box" because the resetting rects and locs of child objects of the group was causing the rect of the group to "jump around" hence there no fixed coord system to work from.

This is great… right we don't see this in the PI for groups… so definitely hidden! 

Another related mystery:

there is a new check box in the position for groups

[ ] resize when setting rect property

what does this do?

 BR

On 6/12/17, 7:45 PM, "use-livecode on behalf of Mark Waddingham via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> wrote:

    Another useful thing which I'm not sure is particularly visible (but is 
    in the dictionary!) is the group 'clipsToRect' property.
    
    When 'the clipsToRect' is set to true you get a group which acts like 
    lockLocation is set, but is resizable. In  this case the group's size is 
    determined purely by the rect it has set, and not the union of the 
    rectangles of its children.
    
    This might have been mentioned somewhere else in this thread, but its 
    probably worth repeating if so as a group with clipsToRect true, and a 
    resizeControl handler makes a good base for a custom control.
    
    Warmest Regards,
    
    Mark.



More information about the use-livecode mailing list