Skip to content

WI01098846 - Control layout wrong#38

Merged
jaywang-cn merged 6 commits into
masterfrom
JWA/WI01098846
Jul 15, 2026
Merged

WI01098846 - Control layout wrong#38
jaywang-cn merged 6 commits into
masterfrom
JWA/WI01098846

Conversation

@jaywang-cn

@jaywang-cn jaywang-cn commented Jul 13, 2026

Copy link
Copy Markdown

WI01098846 - Control layout wrong
This PR mostly does 2 things:

  1. apply the changes from https://github.com/WiseTechGlobal/CargoWise.Controls.WinForms.Legacy/pull/43
  2. undo the changes from be654c1

Reason: There are several forms coming across the controls layout problem. One is related to the DPI and the other is related to the Anchor.

In the https://github.com/WiseTechGlobal/CargoWise.Controls.WinForms.Legacy/pull/43, it fixed the layout problem by removing the IsScalingRequirementMet from the DefaultLayout, while in the be654c1, it almost address same problem based on the regression document Anchor Layout High-DPI Regression, so I think the later is not needed anymore.

<PackageVersion Condition="'$(PackageVersion)' == ''">$(WtgPackageVersionPrefix)-dev</PackageVersion>
<PackageDescription>WiseTech Global forked version of System.Windows.Forms that includes controls that were deprecated in .NET Core 3.1 and .NET 5, like DataGrid, Menu, ToolBar and StatusBar.</PackageDescription>
<PackageReleaseNotes>Rollback custom binding context support in BindingContext/RelatedCurrencyManager, PR link: https://github.com/WiseTechGlobal/winforms/pull/20</PackageReleaseNotes>
<PackageReleaseNotes>Remove IsScalingRequirementMet from DefaultLayout.cs, PR link: https://github.com/WiseTechGlobal/winforms/pull/37</PackageReleaseNotes>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jaywang-cn, this should read PR38:

Suggested change
<PackageReleaseNotes>Remove IsScalingRequirementMet from DefaultLayout.cs, PR link: https://github.com/WiseTechGlobal/winforms/pull/37</PackageReleaseNotes>
<PackageReleaseNotes>Remove IsScalingRequirementMet from DefaultLayout.cs, PR link: https://github.com/WiseTechGlobal/winforms/pull/38</PackageReleaseNotes>

@jaywang-cn
jaywang-cn merged commit 1e7685b into master Jul 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants