The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Distributing object evenly
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

toonbon

19 Posts

Posted - 04/01/2009 :  03:43:59 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. 8 Operating System: XP

I see where the Object Editor tools let you align multiple objects against a right or left border and set their height or width the same, but I don't see a way to distribute objects evenly. Suppose, for example, that I have four lines of text that I want to space vertically with the same distance between them. Is there a way to do this?

Thanks

greg

USA
1378 Posts

Posted - 04/02/2009 :  5:13:24 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
No GUI for this yet. You need to access the position properties of the objects from script. Here is an example where I evenly space (vertically), three text objects : Text, Text1 and Text2.

text1.y = text.y - 100;
text2.y = text.y - 200;

or

text1.y = text.y - 100;
text2.y = text1.y - 100;
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000