You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did it work in any of the earlier releases of .NET Core or .NET 5+?
No response
Issue description
During the review of PR 11345, we identified two issues when RightToLeft is set to Yes and VisualStyles is not enabled:
Column borders misalignment between header and body;
The top row header's left border disappears when there's a horizontal scrollbar and it is moved to the left.
Screenshots:
In all images:
VisualStyles is not enabled.
There's 2 DataGridView controls, for comparison purposes: the top one is RTL, the one at the bottom isn't.
1. Column borders misalignment between header and body
The problem only happens on RTL and when VisualStyles is not enabled:
100% Zoom:
400 Zoom:
2. The top row header's left border disappears when there's a horizontal scrollbar and it is moved to the left
The problem only happens on RTL and when VisualStyles is not enabled.
3. Also, @Olina-Zhang noticed gaps between row and column lines in the headers and row headers when VisualStyles is not enabled
@Tanya-Solyanik , I don't know if this problem should be addressed in this issue because:
It is barely visible at 100% Zoom;
It happens wheter RTL is Yes or No, so I wonder if those gaps exist by design.
100% Zoom:
400% Zoom:
These issues are not regressions from PR 11345. We are opening this new issue to track the column borders misalignment and the top row header border issue.
We will investigate these problems further and work towards a resolution in this new issue.
Steps to reproduce
Create a new DataGridView form and set it to RightToLeft.Yes and do not enable VisualStyles. Sample project here.
The text was updated successfully, but these errors were encountered:
.NET version
9.0.100-preview.3.24204.13
Did it work in .NET Framework?
Not tested/verified
Did it work in any of the earlier releases of .NET Core or .NET 5+?
No response
Issue description
During the review of PR 11345, we identified two issues when
RightToLeft
is set toYes
andVisualStyles
is not enabled:Screenshots:
In all images:
1. Column borders misalignment between header and body
The problem only happens on RTL and when VisualStyles is not enabled:
100% Zoom:
400 Zoom:
2. The top row header's left border disappears when there's a horizontal scrollbar and it is moved to the left
The problem only happens on RTL and when VisualStyles is not enabled.
3. Also, @Olina-Zhang noticed gaps between row and column lines in the headers and row headers when VisualStyles is not enabled
@Tanya-Solyanik , I don't know if this problem should be addressed in this issue because:
100% Zoom:
400% Zoom:
These issues are not regressions from PR 11345. We are opening this new issue to track the column borders misalignment and the top row header border issue.
We will investigate these problems further and work towards a resolution in this new issue.
Steps to reproduce
Create a new DataGridView form and set it to RightToLeft.Yes and do not enable VisualStyles. Sample project here.
The text was updated successfully, but these errors were encountered: