Change main Thumbnail window background gray

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

Moderators: XnTriq, xnview

Post Reply
blackxacto
Posts: 20
Joined: Thu Apr 19, 2018 7:49 pm

Change main Thumbnail window background gray

Post by blackxacto » Mon Apr 23, 2018 1:11 am

When viewing a folder of images in THUMBNAIL view, there is a 10-20% gray background that shows when the thumbnails do not cover the thumbnail window. I have searched the PREFERENCES and cannot find where to change this gray tint background to 100 black. Would anyone know the path to change this window background color?

User avatar
xnview
Author of XnView
Posts: 29744
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Change main Thumbnail window background gray

Post by xnview » Mon Apr 23, 2018 11:54 am

Settings>Thumbnails>Appearance
Pierre.

blackxacto
Posts: 20
Joined: Thu Apr 19, 2018 7:49 pm

Re: Change main Thumbnail window background gray

Post by blackxacto » Mon Apr 23, 2018 6:34 pm

ImageSee attached image. Note the background color of 10-20% black of main window, separate from thumbnail preferences. Is there anyway to change this to 100 black? don't know if the image made it

User avatar
xnview
Author of XnView
Posts: 29744
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Change main Thumbnail window background gray

Post by xnview » Mon Apr 23, 2018 6:49 pm

sorry but the screenshot is not visible
Pierre.

blackxacto
Posts: 20
Joined: Thu Apr 19, 2018 7:49 pm

Re: Change main Thumbnail window background gray

Post by blackxacto » Mon Apr 23, 2018 7:08 pm

How do I get the 500 pixel wide image to you?


User avatar
xnview
Author of XnView
Posts: 29744
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Change main Thumbnail window background gray

Post by xnview » Tue Apr 24, 2018 11:57 am

For that you need to use your own theme, and change

Code: Select all

MyThumbListView{
	background-color: rgb(0, 0, 0);

}
Pierre.

blackxacto
Posts: 20
Joined: Thu Apr 19, 2018 7:49 pm

Re: Change main Thumbnail window background gray

Post by blackxacto » Tue Apr 24, 2018 6:53 pm

Found the hidden xnviewer.ini file. Opened in Textwrangler. Did not find the item "MyThumbListView{

Can't "change" until I find the command. Do I insert the command you provided in the Textwrangler opened ini file commands? If so where? Should I save the newly edited file as a separate file, or Save and Close.

Sorry, not a programmer, but willing to experiment. :mrgreen:

User avatar
xnview
Author of XnView
Posts: 29744
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Change main Thumbnail window background gray

Post by xnview » Wed Apr 25, 2018 7:24 am

no sorry, you need to use View>Theme>Dark Theme
remove all, and add the MyThumbListView lines
Pierre.

blackxacto
Posts: 20
Joined: Thu Apr 19, 2018 7:49 pm

Re: Change main Thumbnail window background gray

Post by blackxacto » Thu Apr 26, 2018 8:57 pm

Bravo, that worked. I don't understand what I removed, but your coding worked. Thank you very much for your time and help.

When you get time, would you explain what I "removed". I would think I removed all coding for a theme, not just replacing the background of the theme. But anyways, your coding worked great, thanks.

User avatar
xnview
Author of XnView
Posts: 29744
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Change main Thumbnail window background gray

Post by xnview » Fri Apr 27, 2018 8:12 am

you have removed the style for black theme
Pierre.

Post Reply