[Mono-bugs] [Bug 80592][Nor] Changed - Size grip is not placed correctly
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Jan 24 03:52:25 EST 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by georgegiolfan at yahoo.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80592
--- shadow/80592 2007-01-23 19:28:38.000000000 -0500
+++ shadow/80592.tmp.9054 2007-01-24 03:52:25.000000000 -0500
@@ -50,6 +50,21 @@
Created an attachment (id=18545)
Proposed Patch
------- Additional Comments From monkey at jpobst.com 2007-01-23 19:28 -------
Please see if that patch fixes the issue correctly. Thanks!
+
+------- Additional Comments From georgegiolfan at yahoo.com 2007-01-24 03:52 -------
+It fixes only that case. Try setting ClientSize instead. Also,
+UpdateSizeGripVisible does other things, such as creating the grip,
+etc. Whatever is done when the form is resized should probably look
+like the code in OnResize. I tried overriding OnResize on MS SWF. The
+form can still be resized using the grip, only it is not painted/
+invalidated properly. I guess placing the grip in OnResize is good
+enough, if it works. So, don't add anything in other places, just
+make that code work. It currently doesn't because when OnResize is
+called from setting Size in the constructor size_grip.Visible is
+false. This seems strange, since it is set in UpdateSizeGripVisible.
+The Visible property returns false if the child is visible but the
+parent is not. So, I think the condition size_grip.Visible in
+OnResize should be removed, or at least changed.
More information about the mono-bugs
mailing list