Toolbars: icons and customization

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

Post Reply
phaolo
Posts: 99
Joined: Tue Dec 29, 2015 11:40 pm

Toolbars: icons and customization

Post by phaolo »

1- can you add more icons? (maybe customizable?)
For example, I'd wish there was a Zoom-like icon instead of the text for "no fit" and "fit to window, large only".

2- btw, what's the difference between "1:1" and "No fit"?
Sometimes I have to click both buttons to see the actual non-scaled image.

3- can you let us customize these toolbars?
--a- filelist toolbar (e.g: I don't need the Thumb resizer there).
--b- status bar (e.g: I'd like the DPI there).
User avatar
m.Th.
XnThusiast
Posts: 1662
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: Toolbars: icons and customization

Post by m.Th. »

1- can you add more icons? (maybe customizable?)
+1 (but it isn't Pierre's job)
You can customize them - check the UI\icons-48 subfolder in the distribution. For the names look at keyboard/toolbar customization.
If you do something valuable be sure to post them back to community. Perhaps Pierre will integrate them in the distro.

2- btw, what's the difference between "1:1" and "No fit"?
1:1 - natural size for printing
„no fit” - natural size on screen
(depending on your printer/screen they can be different)

3- can you let us customize these toolbars?
Don't think so. Not worth the hassle. Just IMHO of course.

Ok, DPI would be nice to be added (hint: for all photos it will be 72). You can show it now in Tooltips and/or Thumb labels.
m. Th.

- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -
phaolo
Posts: 99
Joined: Tue Dec 29, 2015 11:40 pm

Re: Toolbars: icons and customization

Post by phaolo »

m.Th. wrote: +1 (but it isn't Pierre's job)
You can customize them
Ok thanks.
I'll check them, it was just to avoid the ugly long textual button.
(and the menu isn't immediate enough)
m.Th. wrote:1:1 - natural size for printing
Are you sure about that?
That seems to be shown by the "Real Size" button, but "1:1" doesn't behave the same.

m.Th. wrote: Don't think so. Not worth the hassle. Just IMHO of course.
Ok, DPI would be nice to be added (hint: for all photos it will be 72).
Also 300 :P
Well, if you could add DPI there, it would be perfect.
The filelist toolbar is a bit more annoying, instead.. but ok.
User avatar
miki
Posts: 17
Joined: Wed Oct 04, 2017 2:40 pm
Contact:

Re: Toolbars: icons and customization

Post by miki »

I'm very excited about the customization capabilities of XnView MP and just trying to make my custom theme using the QSS style sheet in "/AppData/Roaming/XnViewMP/style_sheet.qss". It's very cool, just changing few lines and after program restart, I can see the result!

But how can I change the toolbar icons mentioned above? I look into the install folder "/UI/icons-48" and can see all the PNG icons. I replaced some of them, restarted XnView, but nothing have changed. What need to be done to load my custom icons into the program?

I use Windows10 and would like to create some elegant icons using vector editor Affinity Designer. Btw can XnView display SVG icons or they need to be in PNG format?
Thanks for answers
Miki
Miki Proxima (meshlogic)
User avatar
miki
Posts: 17
Joined: Wed Oct 04, 2017 2:40 pm
Contact:

Re: Toolbars: icons and customization

Post by miki »

OK, I finally found how to load my own icons! You need to go to Settings-Interface-Toolbar and check there Large icons. If unchecked, the program doesn't load custom icons from the folder UI/icons-48, but uses some default icons, which are probably hard-coded.

However it didn't work with my SVG icons. It seems they need to be PNG.
Miki Proxima (meshlogic)
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Toolbars: icons and customization

Post by xnview »

miki wrote:OK, I finally found how to load my own icons! You need to go to Settings-Interface-Toolbar and check there Large icons. If unchecked, the program doesn't load custom icons from the folder UI/icons-48, but uses some default icons, which are probably hard-coded.
which one?
However it didn't work with my SVG icons. It seems they need to be PNG.
yes only png
Pierre.
User avatar
miki
Posts: 17
Joined: Wed Oct 04, 2017 2:40 pm
Contact:

Re: Toolbars: icons and customization

Post by miki »

xnview wrote:
miki wrote:OK, I finally found how to load my own icons! You need to go to Settings-Interface-Toolbar and check there Large icons. If unchecked, the program doesn't load custom icons from the folder UI/icons-48, but uses some default icons, which are probably hard-coded.
which one?

I meant, the trick to load my icons from the UI folder is to check Large icons in settings. Otherwise my icons are ignored and program uses the original icons, perhaps because of the used directive [Toolbar-48] in toolbar.ini, where there is no directive for small icons (if Large icons unchecked).

Code: Select all

[Toolbar-48]
folder=icons-toolbars
size=24
Note, to make icons small again I set size to 24 and all is ok now.
Miki Proxima (meshlogic)
Post Reply