
Xnview MP Dark UI Enhancement
Moderators: XnTriq, helmut, xnview
-
- Posts: 13
- Joined: Thu Jun 14, 2012 8:50 am
Changing View Background Color
I'm Working on enhancing the dark theme of Xnview MP to look like Photoshop CS6, but how can i change the white background of view layout, and also how can i change the background color of thumbnils in the browse layout and also the preview background in the browse Layout. I know that it's from style_sheet.qss but i looked at it and i didn't find the color value of those parts in that file


-
- Author of XnView
- Posts: 45561
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Moderator & Librarian
- Posts: 6457
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Changing View Background Color
- Tools » Settings... » Browser » File List » Item colours » Default color
- Tools » Settings... » Browser » Thumbnail » Appearance
- %ProgramFiles%\XnViewMP\UI\style_sheet.qss (default settings) » line #419
%AppData%\XnViewMP\style_sheet.qss
%AppData%\XnViewMP\style_sheet_win.qss
[color=green]style_sheet.qss[/color] wrote:Code: Select all
QListView { background-color: #RRGGBB; background-color: rgb(RRR, GGG, BBB); }
-
- Posts: 13
- Joined: Thu Jun 14, 2012 8:50 am
Xnview MP Dark UI Enhancement
I'm working on enhancing the dark UI of Xnview MP to make it looks like Photoshop CS6 i changed the original color from black to dark gray and changed all the lines and borders from solid black lines to 3d lines "groove style" and made many other minor twikes, if you like it then it will be great to help me to enhance it, and for admin, if you really like the improvement then fell free to add it as official Theme in the next Xnview MP versions

as you can see there is a few mistakes i can't edit so hope you help me to improve it, which is, padding the lower toolbar in the browse view and enhane the look of the search bar, and finally how to change the icons of the toolbar.


as you can see there is a few mistakes i can't edit so hope you help me to improve it, which is, padding the lower toolbar in the browse view and enhane the look of the search bar, and finally how to change the icons of the toolbar.
-
- Author of XnView
- Posts: 45561
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Xnview MP Dark UI Enhancement
Which padding? You have other icons??arabtornado wrote:as you can see there is a few mistakes i can't edit so hope you help me to improve it, which is, padding the lower toolbar in the browse view and enhane the look of the search bar, and finally how to change the icons of the toolbar.
Pierre.
-
- Moderator & Librarian
- Posts: 6457
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Xnview MP Dark UI Enhancement
I really like the enhancements you've done so far and hope that you'll eventually share the QSS with the rest of usarabtornado wrote:[…] i changed the original color from black to dark gray and changed all the lines and borders from solid black lines to 3d lines "groove style" and made many other minor twikes […]

I think arabtornado is referring to the spacing between the browser toolbar and the thumbnail panel.xnview wrote:Which padding?
Perhaps there's a way to align the address/navigation field, the buttons and the slider for changing the thumbnail size a vertically centered?
Forum references:
-
- Posts: 13
- Joined: Thu Jun 14, 2012 8:50 am
Re: Xnview MP Dark UI Enhancement
Actually what i meant by padding is the vertical alignment of the icons in the address/search toolbar
Here is an update, I Fixed some problems in the original post.

and here is the style files
http://www.mediafire.com/?qhzewsxbq2z5wz5
feel free to improve it, and if you want to help me on improving it then i will be glad
Thank you XnTriq and Xnview for your help
Here is an update, I Fixed some problems in the original post.


and here is the style files
http://www.mediafire.com/?qhzewsxbq2z5wz5
feel free to improve it, and if you want to help me on improving it then i will be glad

Thank you XnTriq and Xnview for your help

-
- Moderator & Librarian
- Posts: 6457
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Xnview MP Dark UI Enhancement
Thank youarabtornado wrote:and here is the style files
http://www.mediafire.com/?qhzewsxbq2z5wz5

Unfortunately I haven't found a way to address a specific toolbar button in order to change it's icon

Code: Select all
QToolButton {
border: 2px solid red;
border-radius: 5px;
image: url(UI:test.png);
}
-
- Posts: 13
- Joined: Thu Jun 14, 2012 8:50 am
Re: Xnview MP Dark UI Enhancement
You are welcome XnTriq 
Do anyone see that this UI still need enhancement from any kind, your opinion helps to make this UI looks much better

Do anyone see that this UI still need enhancement from any kind, your opinion helps to make this UI looks much better

-
- Author of XnView
- Posts: 45561
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Xnview MP Dark UI Enhancement
I like your changes 

Sorry but where?arabtornado wrote:Actually what i meant by padding is the vertical alignment of the icons in the address/search toolbar
Pierre.
-
- Posts: 13
- Joined: Thu Jun 14, 2012 8:50 am
Re: Xnview MP Dark UI Enhancement
it was a problem i posted it's photo on the first post but i solved it and updated the snapshot on the next post, actually i meant that the icons wasn't centered correctly in the address/search toolbarxnview wrote:I like your changes
Sorry but where?arabtornado wrote:Actually what i meant by padding is the vertical alignment of the icons in the address/search toolbar
-
- Posts: 13
- Joined: Thu Jun 14, 2012 8:50 am
Re: Xnview MP Dark UI Enhancement
How can i change close tabs icons (the X mark on every tab) and also how to change the icons of the toolbar
-
- Moderator & Librarian
- Posts: 6457
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Xnview MP Dark UI Enhancement
arabtornado wrote:How can i change close tabs icons (the X mark on every tab)
Code: Select all
QTabBar::close-button {
image: url(UI:close-button.png);
subcontrol-position: left;
}
QTabBar::close-button:hover {
image: url(UI:close-button_hover.png);
}
- Stack Overflow: How to style QTabBar close button
- Qt Style Sheets Reference: subcontrol-position
-
- Author of XnView
- Posts: 45561
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Xnview MP Dark UI Enhancement
Currently it's not possible, but please send me some icons, and i'll add a settings..arabtornado wrote:how to change the icons of the toolbar
Pierre.
-
- Moderator & Librarian
- Posts: 6457
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Xnview MP Dark UI Enhancement
Is this going to be a skinning feature as in XnView Classic, Pierre?xnview wrote:Currently it's not possible, but please send me some icons, and i'll add a settings..