Thumbnail Layout: option to trim left if alignment is right

Started by ChrisMatch, July 31, 2013, 10:00:59 AM

Previous topic - Next topic

ChrisMatch

At the moment we can choose to display informations with alignment right (talking about the thumbnail layout).
For long things like file names where the most important information is on the end of the string I would also hope for an option to trim long values from the left (from the beginning of the string).

This could either be a seperat option or be combined with the alignment.

Sample: "file name"
2013-03-19=2049_38-5564=Events.Wedding.Susan and Rob 2013_v01.JPG

If you use a similar naming scheme an information like
...Wedding.Susan and Rob 2013_v01
is much more useful than
2013-03-19=2049_38-5564=Events...

thanks
chris

PS:
the screenshot uses a '|right:30' like:
{File.Name|right:30}
which has the disadvantage, that it is not aware of the real size that is available.



[attachment deleted by admin]

Mario

I think you can do this a custom template for the right header.
Use a left alignment, all standard. Then use this markup:

<TextBlock  HorizontalAlignment='Right' >{File.NameExt}</TextBlock>


This aligns the text from the right, starting with the .jpg.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook