Skip to content

The extra line appeared for the toolStripTextBox item for MenuStrip/ToolStrip contorl with set VisualStylesMode as NET11 #14756

Description

@Zheng-Li01

.NET version

11.0.0-preview.7.26365.114 + private dlls built from Net11/Integration-2 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+?

This is new API introduced by #14746

Issue description

The extra line appeared for the toolStripTextBox item for MenuStrip/ToolStrip contorl with set VisualStylesMode as NET11

Image

Steps to reproduce

  1. Create a .NET winforms project
  2. Set the VisualStylesMode as NET11 for the form1
  3. Add ToolStrip or MenuStrip control on the form1.cs[Design]
  4. Add the toolStripTextBox item for the toolStrip1/MenuStrip1

Metadata

Metadata

Assignees

No one assigned

    Labels

    📚 documentationOpen issue here - https://github.com/dotnet/dotnet-api-docs/issuesNewApi-Net11Tracks issues for public APIs targeted for .NET 11.rendering-or-artifacts-issuesControls paint themselves, sometimes "outside their borders." Primarily looks, not function.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions