diff options
| author | Michael <[email protected]> | 2017-04-23 08:06:00 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-23 08:06:06 -0400 |
| commit | ba0ae29bbb7eee83c5a4969316d97b43b5f18ba0 (patch) | |
| tree | 04634d0ce85039970f3c6e63907c253d42565ea0 /ShiftOS.WinForms/WinformsDesktop.cs | |
| parent | 1fd16be65fa50fcfa3fd2d1fb2d189aad47fbfb7 (diff) | |
| download | shiftos_thereturn-ba0ae29bbb7eee83c5a4969316d97b43b5f18ba0.tar.gz shiftos_thereturn-ba0ae29bbb7eee83c5a4969316d97b43b5f18ba0.tar.bz2 shiftos_thereturn-ba0ae29bbb7eee83c5a4969316d97b43b5f18ba0.zip | |
Fix widget stacking
Diffstat (limited to 'ShiftOS.WinForms/WinformsDesktop.cs')
| -rw-r--r-- | ShiftOS.WinForms/WinformsDesktop.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
