7 Commits

Author SHA1 Message Date
2ebbdc6ba3 Issue #718: Fonts may still be too large because the monitor on which a form is created has DPI > 100%. Calculate DpiScaleFactor based on that first monitor. See https://www.heidisql.com/forum.php?t=34230 2019-07-18 19:08:32 +02:00
6a75e8c404 Issue #718: Fonts may be too large because they get scaled before the window gets moved to the wanted screen. So, this moves the code for scaling fonts to FormShow, so we can scale fonts according to the screen's DPI setting. 2019-07-18 07:52:59 +02:00
92c8f62b85 High DPI:
* remove ParentFont flag from forms again (introduced in 9cdcd631454f6f9e999893ea89fcf502d994474c for #213). This just inherits from default Windows settings.
* instead, scale font size in InheritFont(), and move that to the new TExtForm class
* mark app with PerMonitorV2 support
2019-07-17 21:59:18 +02:00
d169d2d52f Issue #8: fix unstyled size grip on forms without statusbar, with the help of Volker Siebert's SizeGrip: http://flocke.vssd.de/prog/code/pascal/sizegrip/1.2b/ 2018-10-30 15:49:51 +01:00
ba63e1477e Show line breaks other than Windows style as normal line breaks in text editor. See http://www.heidisql.com/forum.php?t=18769 2015-06-21 14:05:21 +00:00
d7f74a4dc2 Include missing unit to silence compiler hint: "H2443 Inline function 'SmallPointToPoint' has not been expanded because unit 'System.Types' is not specified in USES list" 2013-11-02 07:07:17 +00:00
6e608f157e Replace out-dated code which does not compile in 64bit mode in helpers.SetWindowSizeGrip. Use a TForm descendant in the new unit "extra_controls". Code parts taken from http://www.delphigroups.info/2/4/326787.html 2013-11-01 14:54:13 +00:00