Page 1 of 1

Delphi Seattle: Enable High-DPI results than expected

Posted: Thu Feb 18, 2016 12:52 am
by 10546565
In working with Seattle, if "Enable High-DPI" (in Project/Options/Application) is checked, Annotations' text will appear small

Image

(it is a little hard to see here unless you compare the annotation font against the axis label font--it is smaller, but should be the same size, or see that the annotations above take up less width than the annotations below).

But if I change it so that it is unchecked, it appears normal size:

Image

I much prefer the first image (much cleaner), but the Annotation text is too small.

Is there a way to get the annotation text to not change its size based on DPI?

Ed Dressel

Re: Delphi Seattle: Enable High-DPI results than expected

Posted: Thu Feb 18, 2016 10:01 am
by yeray
Hello Ed,

Can you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.

Re: Delphi Seattle: Enable High-DPI results than expected

Posted: Thu Feb 18, 2016 3:06 pm
by 16573190
(Thanks for your patience on posting this in the wrong group).

I have attached a demo. Click in the chart to add color bands and annotations.

To see the difference, I compiled with the DPI settings checked and unchecked and renamed the EXE. I then ran the program on my Dell XPS 13. (I could not see it on my development computer).

Ed Dressel

Re: Delphi Seattle: Enable High-DPI results than expected

Posted: Fri Feb 19, 2016 10:34 am
by yeray
Hello Ed,
TestAlways wrote:(Thanks for your patience on posting this in the wrong group).
No problem! I've moved it to the according forum now.

We'll revise the issue and we'll tell you something asap.

Re: Delphi Seattle: Enable High-DPI results than expected

Posted: Fri Feb 19, 2016 3:16 pm
by 10546565
Yeray wrote:We'll revise the issue...
I'm not sure I understand what that means. Could you clarify?

Ed Dressel

Re: Delphi Seattle: Enable High-DPI results than expected

Posted: Fri Feb 19, 2016 3:24 pm
by yeray
Hi Ed,
TestAlways wrote:I'm not sure I understand what that means. Could you clarify?
Yes. We'll check what's wrong, we'll see if we can do something to improve that, we'll investigate where the problem comes from...

Re: Delphi Seattle: Enable High-DPI results than expected

Posted: Wed Feb 24, 2016 8:24 pm
by 16573190
Just checking that you could reproduce the issue?

Ed Dressel

Re: Delphi Seattle: Enable High-DPI results than expected

Posted: Thu Feb 25, 2016 9:20 am
by yeray
Hello Ed,

Yes, I've reproduced the problem so I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1447

Feel free to add your mail to the CC list to be automatically notified when an update arrives.