TextAlign property doesn't work for ToolStripMenuItem
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 1.1k
- Avg merge
- 1d 13m
- Merged PRs (30d)
- 85
Description
* .NET Core Version:
.NET SDK 6.0.100-preview.6.21276.13
* Have you experienced this same bug with .NET Framework?:
Yes
**More Info:**
1. This is not the regression issue, it occurs in .NET Framework project too.
2. This issue occurs in the design time too.
3. This issue occurs in MenuStrip/ContextMenuStrip/StatusStrip/ToolStrip controls.
**Problem description:**
TextAlign property doesn't work for **File** item.

**Expected behavior:**
As set the TextAlign = MiddleRight for the **File** item in form designer, so the text of **File** item should shows on the right side.

**Minimal repro:**
1. Open the attached [TestApp.zip](https://github.com/dotnet/winforms/files/6553044/TestApp.zip) project in VS and run it.
2. Click on **toolStripMenuItem1** to expand its drop down item **File**.
3. Observe the text align of **File** item.
Contributor guide
Assessment
This issue has not been assessed yet.