Fit to window button, and toggle suggestion

Ideas for improvements and requests for new features in XnView MP

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
CreativeWorld
Posts: 145
Joined: Fri Dec 30, 2011 7:08 pm

Fit to window button, and toggle suggestion

Post by CreativeWorld »

The toolbar button for the command "Fit image to window" is just the text,
and it takes up alot of space on the toolbar.

Image

So i copied the "1:1" zoom button and changed the text to "Fit",
the font Ubuntu Bold looked the most similar.

Image

I tried matching the current buttons size (32x32) and position.

This has no transparancy,
so it will not look very good with a darker theme.


A toggle button suggestion:

Maybe there could be a zoom button that toggles between
100% and fit image to window,
it could change the icon depending on current zoom level.

If the image is zoomed at 100%,
the button has a "Fit" icon and it runs the command:
cmd_fitAll

otherwise if the zoom level is greater or smaller than 100%,
the button has a "1:1" icon and it runs the command:
cmd_zoom100
quapurna
Posts: 135
Joined: Wed Jun 12, 2013 4:55 pm
Location: earth (the not-flat one)

Re: Fit to window button, and toggle suggestion

Post by quapurna »

Halo.

I like the idea of having that "toggle-zoom" button.
However, currently we have:
Fit image to window
Fit image to window height
Fit image to window width
Fit image to window width or height
Fit image to window large only
Fit image to window small only

It would be nicer if we have an option for setting that "toggle-zoom" button; between "100%" and one of those "fits"
Perhaps, it is almost similar to the option of Keyboard/Mouse "Switching Mode".

Btw, I also requested these two other "fits": :)
Fit image to window height, large only
Fit image to window width, large only <---- I need this.

Thanks.
Post Reply