Page 1 of 1

Toolbars: icons and customization

Posted: Fri Mar 31, 2017 10:38 am
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).

Re: Toolbars: icons and customization

Posted: Fri Mar 31, 2017 12:52 pm
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.

Re: Toolbars: icons and customization

Posted: Fri Mar 31, 2017 4:19 pm
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.

Re: Toolbars: icons and customization

Posted: Wed Oct 04, 2017 2:58 pm
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

Re: Toolbars: icons and customization

Posted: Wed Oct 11, 2017 6:02 pm
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.

Re: Toolbars: icons and customization

Posted: Thu Nov 09, 2017 12:51 pm
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

Re: Toolbars: icons and customization

Posted: Thu Nov 09, 2017 7:26 pm
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.