ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 TIELineLayer Ruler Label Shrink not working

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

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] 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
c.basso Posted - May 06 2020 : 06:12:01
Hi,
I'm setting TIELineLayer as a Ruler:
TIELineLayer(CurrentLayer).IsRuler:= True;
TIELineLayer(CurrentLayer).StartShape:= ieesBar;
TIELineLayer(CurrentLayer).EndShape:= ieesBar;
TIELineLayer(CurrentLayer).LabelPosition:= ielpAbove;
TIELineLayer(CurrentLayer).TextOverflow:= ieoShrink;

But label is not shrinked correctly.
Sometimes, if line length is short, text is resized so label is correct,
but most of the times, it appears like attached image (01.png),
with big text and measure unit on next line, truncated.

Is a bug or am I doing something wrong?

Thanks





Claudio
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 07 2020 : 18:15:16
Hi Claudio

I'm afraid I cannot reproduce that.

Do you see it in our demos too?
What version of Delphi is this?
What is your font name and size?
What are your TIELineLayer(CurrentLayer).RulerUnits?

Nigel
Xequte Software
www.imageen.com