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
 text in graph with tabs and anchor
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

jan.oechsler

Germany
8 Posts

Posted - 02/22/2021 :  2:04:20 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I had this problem in OriginPro since years now, but now it bothers me enough to write it down here:

Whenever you have a textbox in a graph which
- contains tabs (\t)
- has the position|anchor set to anything besides "Left - *"

The resulting textbox is positioned wrong, when you click on it it shows an item frame which is out of bounds of the actual text box and all the tabs are calculated wrong. When you try to move it around it gets even weirder.

A text box with this text:
Saturated:	H2
Electrolyte:	0.1 mol/L KOH
Rotation:	{rpm} rpm
Loading:	{loading} mg/cm2


And anchot to "Right - Bottom" (which is what I'm trying to do) doesnt work at all. It randomly moves over the screen.



the exact same text box with anchor to "Left - Top":



the same text box but with tabs replaced to spaces and anchor to "Right - Bottom":



Is this a bug or am I missing something here?

Chris D

428 Posts

Posted - 02/22/2021 :  2:17:52 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The is probably the same underlying issue as reported in this forum post from earlier today:

https://my.originlab.com/forum/topic.asp?TOPIC_ID=46642

(Internal JIRA: ORG-23237)

Thanks,
Chris Drozdowski
Originlab Technical Support
Go to Top of Page

minimax

348 Posts

Posted - 03/01/2021 :  02:10:32 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi jan.oechsler,

Instead of directly typing(copying) the tab character into the editbox, would you mind to use Origin's predefined variables?

For tab character, it is %(tab), see
https://www.originlab.com/doc/LabTalk/ref/LT-Keywords

And you need to go to object properties dialog's Programming tab, change "Link to (%,$), Substitution Level" to be 1 to make %(tab) be able to show as tab character.
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