Skip to content

[VisualStylesMode: Net11] The Size value of ComBobox changed after copy & paste it on the Form1.cs[Design] in .NET mode #14776

Description

@Zheng-Li01

.NET version

.NET 11.0.100-preview.7.26365.114 + Private dlls built from Net11/Integration-3 branch of https://github.com/KlausLoeffelmann/winforms repo

Did it work in .NET Framework?

Not tested/verified

Did it work in any of the earlier releases of .NET Core or .NET 5+?

Not support, new feature of #14768

Issue description

The Size value of ComBobox changed, that from (151,28) changed to (151,32), after copy & paste it on the Form1.cs[Design] in .NET mode

ComBobox.mp4

Steps to reproduce

  1. Create a WinForms application targeting .NET 11
  2. Set VisualStylesMode = VisualStylesMode.Net11
  3. Add a standard ComboBox to a form, and observe it's Size value
  4. Copy & Paste the combobox1, then observe it's Size value

Metadata

Metadata

Labels

🪲 bugProduct bug (most likely)NewApi-Net11Tracks issues for public APIs targeted for .NET 11.

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions