Quantcast
Channel: XnView Software
Viewing all articles
Browse latest Browse all 6306

MP - Suggestions • Black window title bar when dark theme is active

$
0
0
Window title bar is white when dark theme is active:
XnView_MP_white_titlebar.png
It is posible to make it black
XnView_MP_black_titlebar.png
by adding to qt.conf those lines:

Code:

[Platforms]WindowsArguments = darkmode=1
or launching XnView with platform argument:

Code:

"C:\Program Files\XnViewMP\xnviewmp.exe" -platform windows:darkmode=1
To achieve this behavior programmatically, Qt Blog suggests to set the environment variable in the main function via

Code:

qsetenv("QT_QPA_PLATFORM", "windows:darkmode=1")

Statistics: Posted by Lord_D — Fri Jan 12, 2024 5:29 am



Viewing all articles
Browse latest Browse all 6306

Latest Images

Trending Articles



Latest Images