.ini option to ResetXY to Top-Middle

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

Post Reply
AndyHazz
Posts: 3
Joined: Tue Feb 07, 2012 11:49 am

.ini option to ResetXY to Top-Middle

Post by AndyHazz »

The ini file currently gives the following options for ResetXY when viewing images:
ResetXY
Changes the default image X/Y position when viewing images.
  • 0. Middle of the image.
  • 1. Top-left of the image.
  • 2. Top-right of the image.
Value: Integer (0-2), default value is 0
Note: ResetXY setting does have a UI, only value 2 cannot be set through the options dialog.
(the above info was from here: http://wiki.xnview.com/index.php/UI-less_Settings#View)

What would be really useful for me is a fourth option ...
  • 3. Top-middle of the image.
This is because I often use XnView for previewing mock-designs for centrally aligned webpages, where I want the image to open at the top in the centre, as a webpage would.

Whilst you're at it, it'd probably make sense to fill out the other options that others may find useful:
  • 4. Middle-left
  • 5. Middle-right
  • 6. Bottom-left
  • 7. Bottom-middle
  • 8. Bottom-right
Thanks!
Last edited by AndyHazz on Tue Feb 07, 2012 3:41 pm, edited 1 time in total.
User avatar
Peter2
XnThusiast
Posts: 1365
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: .ini option to ResetXY to Top-Middle

Post by Peter2 »

...Note: ResetXY setting does have a UI, only value 2 cannot be set through the options dialog.
Where to find?

Peter
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
AndyHazz
Posts: 3
Joined: Tue Feb 07, 2012 11:49 am

Re: .ini option to ResetXY to Top-Middle

Post by AndyHazz »

The UI setting for Reset X/Y is in Options>View, it's just a checkbox.

I think it's either off (unchecked) or on (checked) and set to value 1 (reset X/Y to top-left).
To get any other alignment you have to edit the .ini
User avatar
Peter2
XnThusiast
Posts: 1365
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: .ini option to ResetXY to Top-Middle

Post by Peter2 »

Thanks, I found it.

Peter
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: .ini option to ResetXY to Top-Middle

Post by JohnFredC »

Something like this would be useful:

Image
John
AndyHazz
Posts: 3
Joined: Tue Feb 07, 2012 11:49 am

Re: .ini option to ResetXY to Top-Middle

Post by AndyHazz »

Exactly like that ... did you mock that up or is it from another application?

Although it'd be more user friendly to have this configured in the UI like that screenshot, if it means it's more likely to get done then a simple extension of the exisiting .ini file options would be great.
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: .ini option to ResetXY to Top-Middle

Post by JohnFredC »

It's only a quick mockup, unfortunately.
John
Post Reply