Page 1 of 1

Larger font for the MP GUI

Posted: Wed Jan 26, 2022 7:35 pm
by StreifLicht
I found that for a larger font of the GUI I have to modify the theme (style.css). Is there a info available how to do this? It seems that my eyes are too old for the standard font size... ;-)
Or perhaps there is a modified style sheet already available?
Please help...

BR Andreas

Re: Larger font for the MP GUI

Posted: Thu Jan 27, 2022 7:26 am
by xnview
by default, MP use same font size as windows

Re: Larger font for the MP GUI

Posted: Thu Jan 27, 2022 9:56 am
by StreifLicht
by default, MP use same font size as windows
Can I force it to use a larger font?

Re: Larger font for the MP GUI

Posted: Thu Jan 27, 2022 10:07 am
by xnview
perhaps with a .css

Re: Larger font for the MP GUI

Posted: Thu Jan 27, 2022 10:35 am
by StreifLicht
Can I modify an existing one or do I have to create a new one?
For me it would be very important, since XnView is the BEST software I found for my needs. Only the small font is very tiring for me.

Re: Larger font for the MP GUI

Posted: Thu Jan 27, 2022 9:15 pm
by StreifLicht
I have used the Blender-UI-Tuning.qss from miki for my first try to become larger fonts in the UI.
I clicked >xView >Theme >Old Dark and a window popped up.
I entered in style_sheet.qss the following:

Code: Select all

/*******************************************************************************
** CUSTOM FONT SIZES
*******************************************************************************/
/* Default for all widgets */
QWidget{ font-size: 11pt; }

/* Tabs */
QTabBar{ font-size: 11pt; }
MyTabBar{ font-size: 12pt; }

/* Context Menu & Menu Bar */
QMenu, QMenuBar{ font-size: 12pt; }

/* List & Tree Views */
QListView{ font-size: 12pt; }
QTreeView{ font-size: 12pt; }

/* Folders Tree */
QDockWidget > QTreeView{ font-size: 12pt; }
and I cleared style_sheet_win.qss.

NOW the fonts are larger :-) I am almost at the goal :-)
In addition, I would like to have also a larger font for "thumbnails and labels".
What do I have to modify or add for that?

Best Regards, Andreas

Re: Larger font for the MP GUI

Posted: Fri Jan 28, 2022 9:31 pm
by StreifLicht
In addition, I would like to have also a larger font for "thumbnails and labels".
What do I have to modify or add for that?
Ok. Have it: viewtopic.php?t=40736

Re: Larger font for the MP GUI

Posted: Mon Feb 21, 2022 5:11 pm
by helmut
Good that you've found a solution all alone, Andreas, and thank you for reporting here. This will help other users that have the same issue. :)

Re: Larger font for the MP GUI

Posted: Mon May 15, 2023 12:24 pm
by ckit
StreifLicht wrote: Thu Jan 27, 2022 9:15 pm I have used the Blender-UI-Tuning.qss from miki for my first try to become larger fonts in the UI.
I clicked >xView >Theme >Old Dark and a window popped up.
I entered in style_sheet.qss the following:

Code: Select all

/*******************************************************************************
** CUSTOM FONT SIZES
*******************************************************************************/
/* Default for all widgets */
QWidget{ font-size: 11pt; }

/* Tabs */
QTabBar{ font-size: 11pt; }
MyTabBar{ font-size: 12pt; }

/* Context Menu & Menu Bar */
QMenu, QMenuBar{ font-size: 12pt; }

/* List & Tree Views */
QListView{ font-size: 12pt; }
QTreeView{ font-size: 12pt; }

/* Folders Tree */
QDockWidget > QTreeView{ font-size: 12pt; }
and I cleared style_sheet_win.qss.

NOW the fonts are larger :-) I am almost at the goal :-)
In addition, I would like to have also a larger font for "thumbnails and labels".
What do I have to modify or add for that?

Best Regards, Andreas
How do I do this and still have a Dark theme?
Your work above is BRILLIANT!!!