Skip to content
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

[A11Y] Expose ClientSize property for forms #12183

Open
towebo opened this issue Sep 19, 2024 · 0 comments
Open

[A11Y] Expose ClientSize property for forms #12183

towebo opened this issue Sep 19, 2024 · 0 comments
Labels
untriaged The team needs to look at this issue in the next triage

Comments

@towebo
Copy link

towebo commented Sep 19, 2024

Environment

VisualStudio.17.Preview/17.11.0-pre.5.0+35118.90

.NET version

8.0

Did this work in a previous version of Visual Studio and/or previous .NET release?

No

Issue description

When you're blind or have very limited vision it's very hard to determine the suitable with for the form.
With the ClientSize property you can easily calculate a suitable width by adding the left and width for the right most control and adding the distance you've used for the left margin.

Steps to reproduce

  1. Create a new WinForms application and open the form.
  2. Add a textbox to the form and set it's Left and Top to 12 and its width to 200.
  3. Calculate the suitable form width by adding the textbox Left and Width and adding its Left once more: 12 + 200 + 12 = 224
  4. Set the form width to 224.

Not quite right.

Diagnostics

No response

@towebo towebo added the untriaged The team needs to look at this issue in the next triage label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged The team needs to look at this issue in the next triage
Projects
None yet
Development

No branches or pull requests

1 participant