dotnet / dotnet/winforms

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

Open
#14,756 0 comments 0 reactions 0 assignees View on GitHub
:books: documentation NewApi-Net11 rendering-or-artifacts-issues
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
1d 13m
Merged PRs (30d)
85

Description

### .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 https://github.com/dotnet/winforms/pull/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

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in a .NET WinForms project by setting VisualStylesMode to NET11, adding a ToolStrip or MenuStrip, and inserting a ToolStripTextBox through the form1.cs designer. Start by comparing the control's rendering with and without NET11 styling. Done means the ToolStripTextBox no longer displays the reported extra line.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.