Custom Themes

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

Moderators: XnTriq, xnview

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

Re: Custom Themes

Postby XnTriq » Sat May 21, 2016 6:15 am

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: 247
Joined: Thu Aug 23, 2007 2:33 pm
Location: United States

Re: Custom Themes

Postby Brother Gabriel-Marie » Sat May 21, 2016 3:19 pm

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

Postby jscode » Wed Jun 01, 2016 10:50 pm

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

Postby jscode » Wed Jun 29, 2016 8:24 pm

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: 5104
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Custom Themes

Postby XnTriq » Sat Jul 02, 2016 8:45 pm

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

Postby jscode » Sun Jul 17, 2016 1:46 pm

Thanks XnTriq! Looking forward for this feature getting included!

User avatar
miki
Posts: 15
Joined: Wed Oct 04, 2017 2:40 pm
Contact:

Re: Custom Themes

Postby miki » Thu Oct 19, 2017 10:23 am

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: 28298
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Custom Themes

Postby xnview » Thu Oct 19, 2017 12:26 pm

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.


Return to “MP - General Support”

Who is online

Users browsing this forum: No registered users and 1 guest