Page 1 of 1

[Request] Font Type and Size for XnView General UI

Posted: Fri Feb 12, 2016 4:52 am
by quapurna
Hi, Pierre.

On Windows 10, currently, XnViewMP's general UI uses font type and size set for Windows 10 UI.

It would be useful if we can set font type and size for general UI of XnViewMP.

Can we have that option, please.

Thanks.

NB:
One of the reasons why I like file manager "FreeCommanderXE" is because it has options to set font type and size for specific features and general UI.
I hope XnViewMP has those options as well.
Both applications are already amazing in their own fields.

Re: [Request] Font Type and Size for XnView General UI

Posted: Mon Feb 29, 2016 3:29 pm
by xnview
you can change font in theme editing.
In style_sheet.qss (DarkTheme), replace by something like

Code: Select all

QObject { 
font: bold italic large "Times New Roman" ;
font-size: 20px; 
}

Re: [Request] Font Type and Size for XnView General UI

Posted: Thu May 26, 2016 8:46 am
by curio
xnview wrote:you can change font in theme editing.
In style_sheet.qss (DarkTheme), replace by something like

Code: Select all

QObject { 
font: bold italic large "Times New Roman" ;
font-size: 20px; 
}
This has no effect (with XnView v0.79 x64 on Linux). I've tried various fonts available on my system (and also offered on the image view → information tab in the settings), and also adding the additional styling to the Linux-specific QSS file, but the font remains the same Monospace font all over the UI, which severely impacts usability IMO and wastes space. :(

EDIT: I've found out that by selecting the display option for the dark color scheme, clearing out the loaded QSS in the text areas and pasting this instead, the font does change after all:

Code: Select all

* {
    font-family: "Arial";
}

Re: [Request] Font Type and Size for XnView General UI

Posted: Sun Nov 12, 2023 3:06 pm
by The Electro Machine
To those who were trying to understand the steps: just go to

View > Theme > Old Dark

and then close the program and add to file

C:\Users\YOUR-USER-NAME\AppData\Roaming\XnViewMP\style_sheet.qss

something like

Code: Select all

QObject
{
font: "Segoe UI";
font-size: 17px;
}

At least this is how this works in version 1.6.1 x64 installed on Windows 10 Enterprise 20H2 x64