rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: rejetto on June 05, 2020, 01:14:42 PM

Title: 4K screens problem
Post by: rejetto on June 05, 2020, 01:14:42 PM
i just got a 4K screen laptop, and HFS looks very bad on it
I've just found how it make it look normal on windows10.

right click on the exe
properties
compatibility
change high dpi settings
select 'override high dpi scaling...'
select 'system'
Title: Re: 4K screens problem
Post by: Rapid on June 05, 2020, 02:57:53 PM
And again, it's not so hard to add HiDPI suppport to HFS.
I'm using 4k laptop for many years, and my build compiled with multimonitor HiDPI support (PerMonitorV2)
Main changes only in progFrmLib

And I hope you will add bigger icons (at least 32x32)  :)
Title: Re: 4K screens problem
Post by: rejetto on June 05, 2020, 04:14:30 PM
my first move was to spend some time to make at least an initial support, but the result was not good enough, so I went for a workaround because i have little time now that i started working full time again.
It's good to know that your version has proper support, I may get the chance to study the diff one day.
I can't say how much time I will be able to spend in the future, but now the project is "more" open source and anyone can contribute in an easier way.
Title: Re: 4K screens problem
Post by: Rapid on November 16, 2020, 01:39:27 PM
Latest Delphi has new components  TImageCollection and TVirtualImageList:
http://docwiki.embarcadero.com/RADStudio/Rio/en/Supporting_high-DPI_images_with_the_Image_Collection_and_Virtual_ImageList_components

I've switched to them, and added several 32x32 icons - and menus looks much better now.

But we need to support HiDPI also in web-client side.
Maybe we should make 2 icon-sets and request images based on web-client resolution? Somewhat like Lo and Hi res.