dotnet/winforms

When AutoScroll = true, Form size become smaller after show and hide

Open

#1,670 建立於 2019年8月21日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)C# (922 fork)batch import
:beetle: bughelp wanted

倉庫指標

Star
 (4,100 star)
PR 合併指標
 (平均合併 14天 22小時) (30 天內合併 56 個 PR)

描述

  • .NET Core Version: (3.0 Preview8)
  • Have you experienced this same bug with .NET Framework?: Yes

Problem description: After click form maximize button serval times, form will be very small.

Actual behavior: form size will reduce 17 unit after click form maximize button twice.

Expected behavior: form size not change after click form maximize button twice.

Minimal repro: create a winform project drag a control oveflow form set form AutoScroll = true

Run click maximize button serval times(over 10 times will be very clear), you will find form become smaller than before.

But AutoScroll = false, this issue can not reproduce. WindowsFormsApp3.zip

貢獻者指南