[Topic][Dumbfounded] Is there a way to resize and move a group without touching the inside objects

Monte Goulding monte at sweattechnologies.com
Fri May 10 00:15:12 CDT 2013


I asked this exact question on StackOverflow a couple of weeks ago and before I was attacked by Mark for not asking the question he answered we were getting somewhere... I did create solution that works by retaining an offset for the child objects to use in their resizing.

http://stackoverflow.com/questions/16168091/how-do-you-change-the-rect-of-a-group-without-changing-the-location-of-the-objec/16178454#16178454

Anyway... all will be revealed at the conference on Tuesday

On 10/05/2013, at 5:23 AM, Thomas McGrath III <mcgrath3 at mac.com> wrote:

> Is there a way to resize and move a scrolling group without touching the inside contents of that group??? This is on mobile and I need to resize a scrolling group based on the position of the UI (navbar and toolbar when in portrait and landscape) when the UI changes and then after the scrolling group is right I then need to separately resize the contents for retina if needed -- to double their height, width and topleft -- or regular.
> 
> If I resize the group first then it moves the content and then doubling the content makes it the right size but positioned wrong.
> If I resize the content and then move the group then it again correctly sizes the contents but positions them wrong.
> 
> If the group moves then everything is in a different position from when I laid them out in the desktop so they are off.
> 
> I want the scrolling group code to be separate from the resizing code if possible.
> 
> 
> Thanks,
> 
> Tom
> 
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> mcgrath3 at mac.com
> 
> 
> _______________________________________________
> 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

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!







More information about the use-livecode mailing list