From 5358197f88c919416e2ba4e80290b730a7cd181a Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Wed, 24 Jan 2007 10:14:45 +0000 Subject: 2007-01-24 Rolf Bjarne Kvinge * Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592). svn path=/trunk/mcs/; revision=71583 --- mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog | 4 ++++ mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog index 27917117664..9f3897cd398 100644 --- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog +++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog @@ -1,3 +1,7 @@ +2007-01-24 Rolf Bjarne Kvinge + + * Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592). + 2007-01-23 Everaldo Canuto * Control.cs: In OnParentBackgroundImageChanged remove conditions to call diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs index 8663620cdad..fcb2ee08040 100644 --- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs +++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs @@ -1782,8 +1782,8 @@ namespace System.Windows.Forms { base.OnResize(e); - if (this.size_grip != null && this.size_grip.Visible) { - this.size_grip.Location = new Point (ClientSize.Width - size_grip.Width, ClientSize.Height - size_grip.Height); + if (size_grip != null) { + size_grip.Location = new Point (ClientSize.Width - size_grip.Width, ClientSize.Height - size_grip.Height); } } -- cgit v1.2.3