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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 TIELineLayer Ruler Label Shrink not working
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

c.basso

Italy
36 Posts

Posted - May 06 2020 :  06:12:01  Show Profile  Reply
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

xequte

38128 Posts

Posted - May 07 2020 :  18:15:16  Show Profile  Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: