It seems that this problem is not restricted to when there is just one control in a group. If I create a group with any number of controls in it then try to resize one of the controls, the group does not expand to accommodate the new control size. Moving a control resizes the group, resizing it does not. If I change the size of a control in the group by script, the group does expand accordingly.
The lockLocation property of the group is false. Is there some other property of the group I need to set/unset to allow resizing of a control? I fnot, I plan to report this as a bug. Pete Molly's Revenge <http://www.mollysrevenge.com> On Sun, Jul 10, 2011 at 5:55 PM, Pete <p...@mollysrevenge.com> wrote: > According to the dictionary: "If the *lockLocation* of a group is false, > the group is automatically resized when the objects in it are moved, > resized, hidden, or shown." > > I have a group that has just one control in it - a datagrid - and its > lockloc is false. If I resize the datagrid by dragging its handles, the > group does not resize and the parts of the datagrid that are outside the > group are no longer visible. > > With some experimentation, this seems to happen with any group that has > only one control in it, no matter what type of control it is. I know it's > not normal to have a group with just one object in it but any ideas why this > might be happening? > > Pete > Molly's Revenge <http://www.mollysrevenge.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