Custom Themes

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Custom Themes

Post by XnTriq »

Brother Gabriel-Marie wrote:
XnTriq wrote:You can share it in “Contribution” » “Customization” » “Toolbar skins:-D
If I am not mistaken, that thread is for skins for the old XnView. Shouldn't we start a new one for MP?
Right. If you create a new thread, I'll rename the old one to “Toolbar skins for XnView Classic” or something.
Brother Gabriel-Marie wrote:Well, in customize toolbar mode (Browse mode) it says cmd_refreshThumb in the list.
But no, the icon never displays.
:bugconfirmed:
User avatar
Brother Gabriel-Marie
Posts: 286
Joined: Thu Aug 23, 2007 2:33 pm
Location: United States

Re: Custom Themes

Post by Brother Gabriel-Marie »

XnTriq wrote:Right. If you create a new thread, I'll rename the old one to “Toolbar skins for XnView Classic” or something.
Well, as soon as I figure out how to create a theme, I'll start the thread!
Right now, the only I can do is create a set of icons; the user doesn't have any way of switching themes - not like in Classic when you could choose from amoungst many different themes, even custom ones. In MP there is only the menu to switch between the qss configs, and even that doesn't pick up a custom qss file.
jscode
Posts: 5
Joined: Wed Jun 01, 2016 10:42 pm

Re: Custom Themes

Post by jscode »

Hi,

is this also working on OSX? I tried putting the icons from the Windows zip (changed some icons) into the settings folder:
- USER/.xnviewmp/UI/icons-48
- USER/.xnviewmp/UI/icons
- USER/.xnviewmp/icons
- and also into the package /Applications/XnViewMP.app/Contents/MacOS/UI/icons-48

... but no success. Is there a way to do it on OSX?

Thanks!
jscode
Posts: 5
Joined: Wed Jun 01, 2016 10:42 pm

Re: Custom Themes

Post by jscode »

Found out how to do it on OSX:

- icons into the package /Applications/XnViewMP.app/Contents/MacOS/UI/icons-48
- AND a file toolbar.ini in /Applications/XnViewMP.app/Contents/MacOS/UI with ...

Code: Select all

[Toolbar-48]
folder=icons-48
size=48
You can change size and folder name.

But additional command icons, like cmd_Filter.png (command name from Settings -> Toolbar), don't seem to work. Is that working with windows?
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Custom Themes

Post by XnTriq »

Welcome to the forum, jscode. Thanks for sharing your solution!
jscode wrote:But additional command icons, like cmd_Filter.png (command name from Settings -> Toolbar), don't seem to work. Is that working with windows?
Pending request: Add an icon to a CMD_ (toolbar)
jscode
Posts: 5
Joined: Wed Jun 01, 2016 10:42 pm

Re: Custom Themes

Post by jscode »

Thanks XnTriq! Looking forward for this feature getting included!
User avatar
miki
Posts: 17
Joined: Wed Oct 04, 2017 2:40 pm
Contact:

Re: Custom Themes

Post by miki »

In version 0.87, I'm able to replace almost all icons by placing my own PNG files into the folder UI/icons-48, but it seems some icons like:
cmd_viewAs, cmd_sortBy, cmd_filterBy, etc
are ignored and the program still loads the default icons. So, these icons are hard-coded and cannot be replaced?
Miki Proxima (meshlogic)
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Custom Themes

Post by xnview »

miki wrote:In version 0.87, I'm able to replace almost all icons by placing my own PNG files into the folder UI/icons-48, but it seems some icons like:
cmd_viewAs, cmd_sortBy, cmd_filterBy, etc
are ignored and the program still loads the default icons. So, these icons are hard-coded and cannot be replaced?
perhaps i need to check
Pierre.
Post Reply