Page 1 of 1
[Beginner] Help me understand the Geometry manager.
Posted: Fri Oct 11, 2013 11:36 pm
by shawnblc
I've been working on a little OSX application and I keep losing items on the right hand of the screen. I thought I had it figured out until just a few minutes ago. It was working as expected when adjusting the screen by dragging it, but hit the full window and lost everything for the 100th time.
The the images & controls, I've been going to the property inspector -> geometry -> selected the radio button that says Position selected object -> then tag it below with an anchor to the right side of the screen.
Can someone explain this and perhaps try and get this through my head? And what's the best way to get my images and controls back?
Re: [Beginner] Help me understand the Geometry manager.
Posted: Sat Oct 12, 2013 12:34 am
by shawnblc
Just found this little gem here, and gonna give it a whirl!
http://forums.runrev.com/phpBB2/viewtop ... =8&t=14859
Re: [Beginner] Help me understand the Geometry manager.
Posted: Sat Oct 12, 2013 1:24 am
by dunbarx
You have not "lost" the controls, right? You just orphaned them offscreen when you resized smaller..
Er, right?
I have never used the geometry manager, though I fooled around with it long ago and could not get it to work for me. But know that you can trap the "reSizeStack" message and adjust the locs of your missing objects as required.
But if you do get the manager to do this all on its own. please write back with a report.
Craig Newman
Re: [Beginner] Help me understand the Geometry manager.
Posted: Sat Oct 12, 2013 1:45 am
by Simon
I'm with Craig.
The built in Geometry Manager is weird, I couldn't get it to work the way I thought it should.
Glad you found that script

Seems to work.
Simon
Re: [Beginner] Help me understand the Geometry manager.
Posted: Sat Oct 12, 2013 4:04 am
by shawnblc
Simon wrote:I'm with Craig.
The built in Geometry Manager is weird, I couldn't get it to work the way I thought it should.
Glad you found that script

Seems to work.
Simon
Simon,
I gave the script a whirl, and it distorts my images (that were imported as controls). Any input?
Re: [Beginner] Help me understand the Geometry manager.
Posted: Sat Oct 12, 2013 5:18 am
by Simon
Yeah, as I said if the aspect ratio is not constant then images will get distorted.
There is a lesson:
http://lessons.runrev.com/s/lessons/m/4 ... e-an-image
If you can combine that code with the one in the post, you could get correct aspect ratio.
Simon