-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Milestone
Description
.NET version
7.0
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
If components are anchored within a panel, and the scroll bar for the panel is NOT visible when loading the form, the components are positioned correctly.
If components are anchored within a panel, and the scroll bar for the panel IS visible when loading the form, the components are shifted to the left by the same number of pixels the scroll bar is wide.
Example of when the scrollbar is visible before loading the form:

Example of when the scroll bar is not visible before loading the form, but the form is resized to make the scroll bar visible after the fact:

Steps to reproduce
- Create a blank form
- Add a panel and dock it to the form.
- Add a component, resize it to the width of the panel and anchor it (Left, Top, Right).
- Set the panel to automatically show the scroll bar.
- Resize the form within the designer to make the scroll bar appear.
- Run the application and observe the difference between the designer and the running form.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels