color the scrollbars

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

Moderators: helmut, XnTriq, xnview

Post Reply
sdfsdfsd
Posts: 3
Joined: Tue Jun 16, 2020 9:39 am

color the scrollbars

Post by sdfsdfsd »

Hi, I would like to add some color to my scrollbars. I see posts about a CSS file, so I guess that it is possible to tweak the interface with a stylesheet, but I don't know where the css should go, or how to point xnview to the stylesheet, or which tags to use. Where can I find that information?
tnx!
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: color the scrollbars

Post by xnview »

you can use it View>Theme
Pierre.
sdfsdfsd
Posts: 3
Joined: Tue Jun 16, 2020 9:39 am

Re: color the scrollbars

Post by sdfsdfsd »

Hi Pierre,
tnx for replying. I'm still confused. I tried your solution menu > view > theme, but only "dark theme" offers me a qss file (which is the qss file in /opt/XnView/UI/). I can change the color of the scrollbars there, but I don't want a dark theme. I want the default theme with colored scrollbars, but I can't find the qss for default style.
I also tried entering only a value for the scrollbars in the qss file, hoping that XnView would then use default theme, but with my colored scrollbars, but that didn't work. The qss file needs to be complete, if there is only one element missing, the entire file is ignored.
So where can I find the qss file for default theme?
Tnx!

using XnView MP Linux, Version 0.96.2 64bits (May 6 2020) on Linux Mint 18.3 mate
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: color the scrollbars

Post by xnview »

you can remove all other css style
Pierre.
sdfsdfsd
Posts: 3
Joined: Tue Jun 16, 2020 9:39 am

Re: color the scrollbars

Post by sdfsdfsd »

Tnx Pierre, I've got it now!
Post Reply