From ba0ae29bbb7eee83c5a4969316d97b43b5f18ba0 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 23 Apr 2017 08:06:00 -0400 Subject: Fix widget stacking --- ShiftOS.WinForms/WinformsDesktop.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ShiftOS.WinForms/WinformsDesktop.cs') diff --git a/ShiftOS.WinForms/WinformsDesktop.cs b/ShiftOS.WinForms/WinformsDesktop.cs index c5e3efe..c98a255 100644 --- a/ShiftOS.WinForms/WinformsDesktop.cs +++ b/ShiftOS.WinForms/WinformsDesktop.cs @@ -475,7 +475,7 @@ namespace ShiftOS.WinForms if (widget.Location.X == -1 && widget.Location.Y == -1) { widget.Location = new Point(5, lastHeight); - lastHeight += (widget.Location.Y + widget.Size.Height) + 5; + lastHeight += widget.Size.Height + 5; } } else -- cgit v1.2.3