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
 All Forums
 Origin Forum
 Origin Forum
 Distributing object evenly

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
toonbon Posted - 04/01/2009 : 03:43:59 AM
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
1   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 04/02/2009 : 5:13:24 PM
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;

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000