n00mkrad / flowframes

Flowframes Windows GUI for video interpolation using DAIN (NCNN) or RIFE (CUDA/NCNN)
GNU General Public License v3.0
1.44k stars 115 forks source link

Better UI DPI Scaling? #97

Open DaGooseYT opened 2 years ago

DaGooseYT commented 2 years ago

I use a 16" 4K monitor as well as a 50" 4K TV with my machine. The UI DPI doesn't appear too bad when looking at it on the smaller monitor, but it's really bad when looking on the 4K TV. Not sure if this is fixable considering that WinForms doesn't have good DPI scaling, but just wanted to know if there are any other options to solve this.

Thanks

dpi

FelixKainz commented 2 years ago

I second this. It's annoying to have to decide between finicky small or blurry text. Since FF uses Windows tools rather than something self-made, shouldn't DPI scaling be a rather trivial task?

DaGooseYT commented 2 years ago

Since FF uses Windows tools rather than something self-made, shouldn't DPI scaling be a rather trivial task?

Exactly. It appears that FlowFrames was built under the standard DPI of 96 with no built in DPI scaling. So windows instead stretches the application the match the DPI of your system which is why it looks awful on high resolution screens. Application based DPI scaling has been available in Windows Forms long before FlowFrames was initially created. It's enabled by default on .NET Core Windows Forms applications since late 2019. As far as I'm concerned, there should be no excuse for any modern GUI application to not have its own DPI scaling configuration.

LucasBonafe commented 2 years ago

...options to solve this.

Try Right Click > Properties > Compatibility > Change high DPI settings like this: image

Before: image

After: image

I hope it helped you!

DaGooseYT commented 2 years ago

...options to solve this.

Try Right Click > Properties > Compatibility > Change high DPI settings like this: image

Before: image

After: image

I hope it helped you!

Thanks, but overriding the DPI scaling in windows doesn't work on high DPI monitors (see pic below). You most likely used a 1080p monitor with a DPI of 120, which is why the scaling looks decent. The DPI on my monitors are 240. This problem can only be solved if the developer uses proper DPI scaling built into the assembly.

ff