Discussions
Sign In
•
Register
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In with LMD account
Sign In with LMD account
Categories
Recent Discussions
Categories
All Categories
1.1K
NG Controls
28
Announcements
60
LMD IDE-Tools
209
LMD ElPack
373
LMD-Tools
414
Feature Requests
38
In this Discussion
Eugene Balabuev (LMD)
March 2021
Quanos Service Solutions GmbH
March 2021
Width of Button in TCustomElButtonEdit with "Big Fonts"
Quanos Service Solutions GmbH
November 2018
in
LMD ElPack
Vote Up
0
Vote Down
Newer Delphi-Version introduce a new Version of ChangeScale with an new property.
procedure ChangeScale(M, D: Integer; isDpiChange: Boolean); overload; dynamic;
you have change all occurence of ChangeScale for new version to this base methode.
Tagged:
scaling
Comments
8 Comments
sorted by
Votes
Date Added
Eugene Balabuev (LMD)
November 2018
Posts: 0
Vote Up
0
Vote Down
Can you describe the problem itself?
Quanos Service Solutions GmbH
November 2018
Posts: 107
Vote Up
0
Vote Down
See attached PNG-File
Space between both buttons and differnt with of buttons.
Only a problem with HighDPI (Screenshot is made with 150%)
png
png
ElEditButtons.png
3K
Eugene Balabuev (LMD)
November 2018
Posts: 0
Vote Up
0
Vote Down
Ok, I understand. Generally, our controls currently does not support High DPI. We plan to overview in near future if some improvements are possible.
Quanos Service Solutions GmbH
February 2019
Posts: 107
Vote Up
0
Vote Down
You can improve it by simple use the overloade ChangeScale-Methode.
e.g. ElBtnEdit.pas
procedure ChangeScale(M, D: Integer;
isDpiChange: Boolean
); override;
isDpiChange is the new parameter
.
Eugene Balabuev (LMD)
March 2019
Posts: 0
Vote Up
0
Vote Down
It works fine in Delphi 10.3. And because of big changes in that Delphi version we most probably consider it as a min version for all DPI related things.
Quanos Service Solutions GmbH
March 2019
Posts: 107
Vote Up
0
Vote Down
We want to move to 10.3 (currently on 10.2) so it will be OK for us.
Quanos Service Solutions GmbH
March 2021
Posts: 107
Vote Up
0
Vote Down
Hello,
the above fix isn't done in latest build
:-(
Eugene Balabuev (LMD)
March 2021
Posts: 0
Vote Up
0
Vote Down
As I noted previously it works fine in Delphi 10.3 (and now in 10.4 also).
Sign In
or
Register
to comment.
Comments