[Mono-winforms-list] [PATCH] AsyncMethodResult patch and Question
    Peter Dennis Bartok 
    peter at novonyx.com
       
    Thu Sep 22 02:23:32 EDT 2005
    
    
  
Your testcase shows that we're not handling borders yet :-) Therefore, our 
ClientRectangle stays the same size as the bounds for child windows. I've 
tested toplevel windows where we do seem to match MS. Once borders are 
implemented our client area size will shrink accordingly.
Cheers,
  Peter
-----Original Message-----
From: "Kazuki Oikawa" <kazuki at panicode.com>
To: "Peter Dennis Bartok" <peter at novonyx.com>
Cc: <mono-winforms-list at lists.ximian.com>
Date: 21 September, 2005 21:04
Subject: Re: [Mono-winforms-list] [PATCH] AsyncMethodResult patch and 
Question
>A reason that I think ClientRectangle contains border is result of
>attached testcase.
>
>Result:
>Linux
>   Label.Bounds: {X=0,Y=0,Width=100,Height=23}
>   Label.ClientRect: {X=0,Y=0,Width=100,Height=23}
>   Panel.Bounds: {X=0,Y=0,Width=200,Height=100}
>   Panel.ClientRect: {X=0,Y=0,Width=200,Height=100}
>
>Windows (mono)
>   Label.Bounds: {X=0,Y=0,Width=100,Height=23}
>   Label.ClientRect: {X=0,Y=0,Width=100,Height=23}
>   Panel.Bounds: {X=0,Y=0,Width=200,Height=100}
>   Panel.ClientRect: {X=0,Y=0,Width=200,Height=100}
>
>Windows (MS)
>   Label.Bounds: {X=0,Y=0,Width=100,Height=23}
>   Label.ClientRect: {X=0,Y=0,Width=98,Height=21}
>   Panel.Bounds: {X=0,Y=0,Width=200,Height=100}
>   Panel.ClientRect: {X=0,Y=0,Width=198,Height=98}
>
>I think this difference have influence on Bug#76044.
>
>--
>Kazuki
> 
    
    
More information about the Mono-winforms-list
mailing list