Page 1 of 1

Nearly unreadable small fonts in UI with 4K screen

Posted: Mon Jul 04, 2016 1:02 pm
by Murdock
Hi,
I'm using a 4K monitor together with Linux Mint 17.3.
In order to read text quite well, I use a general font scaling factor of 1.6 in the fonts settings of cinnamon. Most applications (even qt application like Clementine) honour this scaling factor.
XnView unfortunately does not, which results in nearly unreadable small fonts. The fonts in the browser window below the thumbnails can be adjusted within the settings - that's ok so far.
For the fonts in the general user interface I didn't find a way to increase the font size.
Is there a way to adjust the size?
Furthermore the checkbox for large icons is not stored. After restart of XnView the icons still have the same size and - which I can live with if the fonts are bigger.
Thanks.

Re: Nearly unreadable small fonts in UI with 4K screen

Posted: Mon Jul 04, 2016 5:00 pm
by XnTriq
I tried adding…

Code: Select all

* {
font-size: 200%;
}
… to View » Theme » Dark theme » style_sheet.qss, but MP seems to accept only absolute values in pixels.

Re: Nearly unreadable small fonts in UI with 4K screen

Posted: Wed Jul 13, 2016 3:53 pm
by Murdock
Thanks for the hint.

I added:

Code: Select all

* {
font-size: 15px;
}
to the user's related style_sheet.qss for the Dark Theme and this did the trick, at least for this theme.

Does anybody know ho to change that in the default theme?
I tried to apply these changes also to the global \opt\XnView\UI\style_sheet.css file but without any effect.

Re: Nearly unreadable small fonts in UI with 4K screen

Posted: Wed Jul 13, 2016 9:43 pm
by Erixx haxx
I'm guessing the default theme and fusion is hard coded.

Would be nice to have a default style sheet so I can turn it dark. (Since the dark theme is so buggy) .

Dark theme really needs a fresh start.

Re: Nearly unreadable small fonts in UI with 4K screen

Posted: Wed Jul 13, 2016 10:30 pm
by XnTriq
Murdock wrote:Does anybody know ho to change that in the default theme?
I tried to apply these changes also to the global \opt\XnView\UI\style_sheet.css file but without any effect.
Please go to View » Theme » Dark theme, delete all instructions in the tab for style_sheet.qss, replace it with…

Code: Select all

* {
font-size: 15px;
}
… and confirm with OK. This should leave you with the default theme and increased font size.

Re: Nearly unreadable small fonts in UI with 4K screen

Posted: Thu Jul 14, 2016 4:52 pm
by Murdock
That worked.
Thanks!