4

I have the new Dell XPS 15 Kaby Lake version with 3840x2160 resolution and text size set to 200%. Now, the Delphi XE2 looks terrible, some parts:
or
I tried to set various settings via it's shortcut in Properties->Compatibility, I also tried to search the internet, but I only found that people care about the look of their applications, but our application looks well. Problem is only with the Delpi XE2 loooking so bad it's unusable on my laptop.

Any help how to easily fix it?

EDIT: I have Windows 10 installed.

Community
  • 1
  • 1
Lukas Salich
  • 959
  • 2
  • 12
  • 30
  • Best to use a monitor with larger pixels. – David Heffernan May 05 '17 at 12:13
  • 1
    Why is it downvoted? Should I add what everything I tried and what links I have open? – Lukas Salich May 05 '17 at 12:28
  • 1
    http://cc.embarcadero.com/Item/30367 helps in Seattle (it fixed the same sort of issue in the Tools->Options and Project->Options dialogs, as well as other locations). I see no reason it wouldn't work in XE2 as well. – Ken White May 05 '17 at 12:46
  • @KenWhite Thanks, do I understand it correctly that the text will be smaller (but readable at least)? The perfect solution would be to let the text be small, but make more space for it, but it's maybe impossible... – Lukas Salich May 05 '17 at 13:21
  • Yes. I'm not certain how well it will work with 4K resolutions, but it will be at least readable, I think. It certainly will be much better than what you're seeing now. :-) And if it doesn't work, it's simply a unit you add to a package, so you can always just remove it to go back to what you've shown above. – Ken White May 05 '17 at 13:26
  • Wow, I fixed it (and more nicely)! I will write an answer, but I still need to try something, before I write it. – Lukas Salich May 05 '17 at 13:32
  • @Ken White - you've provided the answer, so you should post the answer so Lukas can accept it. – RBA May 05 '17 at 13:40
  • I am very helpful for the help, but I fixed it differently in the end. – Lukas Salich May 05 '17 at 13:46
  • Just a word of warning. Running Delphi at a different DPI can have serious implications for how the applications built with Delphi run on other DPI's including standard 96 DPI. – Graymatter May 08 '17 at 20:34

1 Answers1

6

Ok, I fixed it without help from internet by trying various settings of the shortcut:
Properties
Compatibility

It was needed to disable "Disable display scaling on high DPI settings" and also to enable "Combatibility mode" and set it to "Windows XP (Service Pack 3)", both settings were needed together, the program loads very slowly now, but good enough and the GUI is displayed perfectly.

Community
  • 1
  • 1
Lukas Salich
  • 959
  • 2
  • 12
  • 30