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
 Right-aligned Thumbnail text?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

933 Posts

Posted - Jul 13 2020 :  12:09:41  Show Profile  Reply
In some cases, in TImageEnMView the thumbnail TopText and BottomText don't fit the width of the thumbnail. In such cases, the thumbnail shows an ellipsis to denote a hidden text part:



As the TopText contains a file-name, the right part of the TopText with the file extension is more important. In this case, the TopText should be RIGHT-ALIGNED and the ellipsis should be shown on the LEFT side!

The same applies to the BottomText.

Of course, when the text fits, it should be shown centered as before.

Is this possible?

xequte

38610 Posts

Posted - Jul 16 2020 :  02:38:45  Show Profile  Reply
Hi Peter

It's not possible, but you can use the OnGetText or custom painting events to customize the text.

https://www.imageen.com/help/TImageEnMView.OnGetText.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: