[lazarus] New Bug Entered

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Nov 22 20:08:35 EST 2003


On Fri,  7 Nov 2003 02:50:56 -0500 (EST)  bugtracker at miraclec.com wrote:

> 
> Title: LCL: TControl GetClientRect, GetClientWidth, GetCLientHeight
> 
> Entered by: Claude Rieth
> 
> 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, 

Can someone check this under Delphi?

 
> Correcting this automagically fixes different glitches in the UI 

What glitches?


Mattias






More information about the Lazarus mailing list