LCL: TControl GetClientRect, GetClientWidth, GetCLientHeight
Original Reporter info from Mantis: >8<
-
Reporter name: Bug Import
Original Reporter info from Mantis: >8<
- Reporter name: Bug Import
Description:
In TControl (control.inc)
GetClientRect returns Right and Bottom as Width and Height, it should be Width-1 and Height-1
GetClientWidth returns Right, should be Right+1
GetClientHeight return Bottom, should be Bottom+1
TWinControl.GetClientRect has the same problem,
Correcting this automagically fixes different glitches in the UI
Additional information:
Imported information
--------------------
Name: Claude Rieth
Mail: clrieth (at) team.lu
Mantis conversion info:
- Mantis ID: 146