Commit Graph

17 Commits

Author SHA1 Message Date
ondrej
4a4c2d9374 LCL:fix scaling of font size set to <>0 in design time. Issue #33132, regression after r56962 #d7f8f5e5f6
git-svn-id: trunk@57265 -
2018-02-06 16:12:49 +00:00
ondrej
d7f8f5e5f6 LCL: High-DPI: fix font scaling and design-time scaling. Issues #32882 and #32944
git-svn-id: trunk@56962 -
2018-01-05 08:10:01 +00:00
ondrej
9932d66e51 lcl: forms: don't change Font PPI if Application.Scaled=False. Issue #32260
git-svn-id: trunk@55659 -
2017-08-14 10:15:43 +00:00
ondrej
96886b5551 lcl: forms: scale TFrame the same as TForm. Issue #31807
git-svn-id: trunk@54898 -
2017-05-13 20:00:29 +00:00
ondrej
dec8fb4e29 LCL: control: fix design font PPI only if ParentFont=False
git-svn-id: trunk@54292 -
2017-02-27 14:01:06 +00:00
ondrej
048968bf2f LCL: customdesigncontrol: AutoAdjustLayout: update PixelsPerInch only in case of lapAutoAdjustForDPI mode
git-svn-id: trunk@54261 -
2017-02-24 12:11:22 +00:00
ondrej
8b4aa08543 LCL: customdesigncontrol: High-DPI: set correct Font.PixelsPerInch after create.
git-svn-id: trunk@54219 -
2017-02-21 11:58:18 +00:00
ondrej
eeff7db7c3 LCL: rename DPI parameters to PPI
git-svn-id: trunk@54218 -
2017-02-21 10:56:42 +00:00
ondrej
eb28e06e83 LCL: HighDPI: fix font scaling. Issue #31276
git-svn-id: trunk@54210 -
2017-02-20 13:59:36 +00:00
ondrej
44835a8f24 LCL: HighDPI: missing commit from r54199 #1c7e92643d
git-svn-id: trunk@54200 -
2017-02-19 20:05:46 +00:00
ondrej
8c7043289d lcl: forms: add AutoScale method and execute it when setting Scaled := True
git-svn-id: trunk@53692 -
2016-12-15 09:00:04 +00:00
ondrej
c2e239e881 lcl: forms: move the DesignTimeDPI and Scaled properties from TForm to TCustomDesignControl - TFrame needs it as well.
git-svn-id: trunk@53622 -
2016-12-09 22:58:54 +00:00
ondrej
a8d1a4e375 lcl: forms: set PixelsPerInch to DesignTimePPI in Loaded to correctly scale forms designed on highDPI displays.
git-svn-id: trunk@53609 -
2016-12-09 08:21:25 +00:00
ondrej
2d1d913087 lcl, ide: set correct DesignTimePPI when creating a new form. Issue #31082
git-svn-id: trunk@53598 -
2016-12-08 09:42:55 +00:00
ondrej
e7b8a7cf27 lcl: highDPI: rename AScaleFonts parameter to AScale0Fonts and change its behavior. Issue #31083
git-svn-id: trunk@53594 -
2016-12-07 22:22:50 +00:00
ondrej
f1f10c72f9 lcl, ide: highDPI: make designer DPI-aware
git-svn-id: trunk@53584 -
2016-12-06 21:28:02 +00:00
ondrej
33199744d0 lcl: highDPI: use TCustomDesignControl as ancestor for TFrame and TForm to share PPI properties.
git-svn-id: trunk@53580 -
2016-12-06 19:28:48 +00:00