LCL: ScaleBy() does not work correct
Original Reporter info from Mantis: zeljko@holobit.net @zeljan1
-
Reporter name: Zeljan Rikalo
Original Reporter info from Mantis: zeljko@holobit.net @zeljan1
- Reporter name: Zeljan Rikalo
Description:
According to embarcadero docs http://docwiki.embarcadero.com/Libraries/XE6/en/Vcl.Controls.TWinControl.ScaleBy left & top should be untouched.
LCL moves TCustomForm left & top and that's not correct (if Position = poDesigned. Left & Top of TCustomForm should be left untouched in case of top level form if position = poDesigned or poDefault, other positions should be recalculated since current position does not work ok (eg. Position = poScreenCenter should not move form to the center after scaling).
Mantis conversion info:
- Mantis ID: 26654
- Version: 1.3 (SVN)
- Fixed in version: 1.2.6
- Fixed in revision: r46092 (#117e2d6b)