MenuStrip, ToolStrip and StatusStrip white border issue
#5 421 ouverte le 12 août 2021
Métriques du dépôt
- Stars
- (4 100 stars)
- Métriques de merge PR
- (Merge moyen 14j 22h) (56 PRs mergées en 30 j)
Description
-
.NET Core Version: .NET SDK (reflecting any global.json): Version: 5.0.302 Commit: c005824e35
Runtime Environment: OS Name: Windows OS Version: 10.0.22000 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\5.0.302\
Host (useful for support): Version: 5.0.8 Commit: 35964c9215
.NET SDKs installed: 5.0.103 [C:\Program Files\dotnet\sdk] 5.0.302 [C:\Program Files\dotnet\sdk]
.NET runtimes installed: Microsoft.AspNetCore.App 5.0.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 5.0.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 5.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 5.0.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 5.0.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 5.0.8 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
-
Have you experienced this same bug with .NET Framework?: No
Problem description: if the "strips" have dark colors (via professional renderer) a white border (on the left for toolstrip and menustrip and statusstrip, and on the bottom for statusstrip) cannot be avoided.
White border near the form border (.Net Core 5):

Expected behavior: Same application, same "ToolStripProfessionalRenderer" in .Net Framework 4.8, the borders are drawn correctly:

Best Regards, Angelo