The extra line appeared for the toolStripTextBox item for MenuStrip/ToolStrip contorl with set VisualStylesMode as NET11
- 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
### 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
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