Text in tooltips that's displayed only if needed

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

Post Reply
ilgaspa
Posts: 29
Joined: Fri Mar 23, 2007 8:39 am

Text in tooltips that's displayed only if needed

Post by ilgaspa »

I have two digicams: one stores ISO data in the standard field, whilst the other uses a proprietary one. In tooltips I set the ISO value to be shown as follows

ISO:<ISO>

but this results in the word ISO: appearing even if the image has no iso data... perhaps a syntax like foobar's one, something like

[ISO: <ISO>]

would be useful... the "ISO:" string should be displayed only if the <ISO> tag has exists
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Text in tooltips that's displayed only if needed

Post by xnview »

ilgaspa wrote:I have two digicams: one stores ISO data in the standard field, whilst the other uses a proprietary one. In tooltips I set the ISO value to be shown as follows

ISO:<ISO>

but this results in the word ISO: appearing even if the image has no iso data... perhaps a syntax like foobar's one, something like

[ISO: <ISO>]

would be useful... the "ISO:" string should be displayed only if the <ISO> tag has exists
Yes, currently it's a problem if info doesn't exist.
[] is not good because is used often.
But one delimiter between the text is a good idea $ISO:<ISO>$
Pierre.
Post Reply