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中文论坛
 Origin 中文论坛 (Chinese Origin Forum)
 FAQ:如何居中文本框?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

yuki_wu

896 Posts

Posted - 05/18/2016 :  03:02:49 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Q:在图形内新增了Text Object(文本框),如何使其居中?

A:用户可执行:
1.单击文本框,右键Programming Control
2.在对话框内键入:XB.x=1/2*(layer.x.from+layer.x.to);
3.再次激活图形窗口即可看见文本框居中


  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