-
Notifications
You must be signed in to change notification settings - Fork 1k
DataGridView control has an extra scrollbar when adding a new column in DemoConsole application #12796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@Philip-Wang01 - do you see the same in the OOP designer when creating a NET10 app that runs on the latest build from winforms main? |
@Tanya-Solyanik The situation you describe is not reproduced. This issue is only reproduced in the DemoConsole application. |
@Philip-Wang01 can you please verify whether this happens in .NET 8? Can we also confirm whether that 'extra scrollbar' is a visual artifact or it works. @Olina-Zhang, let's create another issue to make this DemoConsole application multi-targeted to Framework so that we can validate where we've got regressions from NetFX. @ricardobossan - feel free to pick up this issue. |
@merriemcgaw The DemoConsole application for .NET 8.0 does not have DataGridView control. It has been verified that this is an HDPI issue that cannot be reproduced at 100% screen resolution. Since this is a design page, the scrollbars don't work properly. |
@merriemcgaw @ricardobossan another issue for DemoConsole app multi-targeted: #12830 |
The issue seems to be resolved on .NET SDK 10.0.100-preview.3.25125.5 (4bcc8a9273508844a30ec1bddbb274c771a3f4fe). |
@ricardobossan This issue is still reproduced in my environment, please note that this is an HDPI issue and it can't be reproduced on a 100% screen |
Closing this issue as the sample project currently does not require HDPI awareness. |
.NET version
main branch of 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 not a regression issue. Also reproduced on the release/9.0 branch.
Issue description
DataGridView control has an extra scrollbar when adding a new column in DemoConsole application.
testdatagridviewscrollbar.mp4
Steps to reproduce
1: Open the test sample: DemoConsole in Winforms repo.
2: Switch to the TabControl and TableLayoutPanel tabpage and select the DataGridView control in the lower right corner.
3: First add a column via “Add Column...”. Then add a column via "Edit Columns...".
More Info:
The scrollbar disappears when you resize the DataGridView control.
The text was updated successfully, but these errors were encountered: