justdan96 / tsMuxer

tsMuxer is a transport stream muxer for remuxing/muxing elementary streams, EVO/VOB/MPG, MKV/MKA, MP4/MOV, TS, M2TS to TS to M2TS. Supported video codecs H.264/AVC, H.265/HEVC, VC-1, MPEG2. Supported audio codecs AAC, AC3 / E-AC3(DD+), DTS/ DTS-HD.
Apache License 2.0
871 stars 147 forks source link

Dark Mode please! #537

Open 775405984 opened 2 years ago

775405984 commented 2 years ago

I usually do video editing work at night, the all white UI is just too bright for my eyes.

So, can you guys make a dark mode version?

Also, the UI is relatively small, not very friendly for high DPI screens even in a high Scaling. So, I was woundering if the buttons and tabs can be bigger.

justdan96 commented 2 years ago

Which OS are you using?

775405984 commented 2 years ago

Which OS are you using?

Windows 10 64bit

justdan96 commented 2 years ago

I think for Windows the DPI settings can be changed by command line arguments, can you please try opening the tsMuxerGUI with -platform windows:dpiawareness=0? You can then try 0, 1 and 2 for the options to see if the behaviour changes at all.

You can also try playing with the following environment variables to see if they change the behaviour at all:

QT_AUTO_SCREEN_SCALE_FACTOR
QT_SCALE_FACTOR
QT_SCREEN_SCALE_FACTORS

You can read more here: https://doc.qt.io/qt-5/highdpi.html

justdan96 commented 2 years ago

We have yet to develop a dark mode - but you can also specify a stylesheet on the command line using the -stylesheet option, so we can use this to try out dark mode themed stylesheet. I've created a minimal style sheet from here, you can try it out by downloading the attachment, renaming it to "dark.css" and supplying it on the command line, i.e.

tsMuxerGUI -stylesheet dark.css

dark.txt

justdan96 commented 2 years ago

Apparently the stylesheet is quite complicated on Windows, it might require a good deal of development to create. For now I might suggest we create a simple one, add it to the repo and update the docs on how to use it.

Alextrain26 commented 2 years ago

Presse-papiers-1

Hello !!! I am also very interrested in the dark theme version. I have used the file dark.css but as you can see on the picture joined, there is some issues with lines where the text and the background are white; square cases are also concerned but in dark grey with a black cross, in every sheet... But this first view is a very good alternative for our eyes, please go deeper !!! Alex

Alextrain26 commented 2 years ago

Hi everyone, FIY, MKVToolNix GUI V43.0.0 follows automatically if dark theme of W10 selected and is perfectly readable. Bye Alex