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
 Right-aligned Thumbnail text?

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
PeterPanino Posted - Jul 13 2020 : 12:09:41
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?
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 16 2020 : 02:38:45
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