Page 1 of 1

TSimpleGraph CaptionLink alignment

PostPosted: April 18th, 2009, 8:38 am
by lazarus
Hi... I'm french Delphi developer and scuse for my poor english.
First, SimpleGraph is a beautiful Delphi Component, thanx !! I use it in my new software, to create electrical diagram.
But the Link Caption is in the center of the current line... How to put the caption on the left, or on the right? Are you an idea, or where is the part of code (what procedure/function) to do this ?
thanx
Florent
ImLeftAlign.jpg
ImLeftAlign.jpg (34.03 KiB) Viewed 973 times

Re: TSimpleGraph CaptionLink alignment

PostPosted: April 18th, 2009, 9:07 am
by Kambiz
There is no property for aligning link's text. However, you can use a breakpoint to adjust text.

Changing code is a bit tricky. Look for TextRegion and TextCenter variables in the code.

Re: TSimpleGraph CaptionLink alignment

PostPosted: May 4th, 2009, 12:10 pm
by lazarus
I do this....
The result is correct.
Thanx