-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
wpf: Add AutoFill to control whether the connection/buffer resizes #7853
Conversation
…ows that the container can host.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great. Thanks!
Hello @DHowett! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
…icrosoft#7853) Adds the ability to manually handle the terminal renderer resizing events by allowing different render size and WPF control size. This is done by adding an `AutoFill` property to the control that prevents the renderer from automatically resizing and tells the WPF control to fill in the extra space with the terminal background as shown below: This PR adds the following: - Helper method in the DX engine to convert character viewports into pixel viewports - `AutoFill` property that prevents automatic resizing of the renderer - Tweaks and fixes that automatically fill in the empty space if `AutoFill` is set to false - Fixes resizing methods and streamlines their codepath ## Validation Steps Performed Manual validation with the Visual Studio Integrated Terminal tool window.
…7853) Adds the ability to manually handle the terminal renderer resizing events by allowing different render size and WPF control size. This is done by adding an `AutoFill` property to the control that prevents the renderer from automatically resizing and tells the WPF control to fill in the extra space with the terminal background as shown below: This PR adds the following: - Helper method in the DX engine to convert character viewports into pixel viewports - `AutoFill` property that prevents automatic resizing of the renderer - Tweaks and fixes that automatically fill in the empty space if `AutoFill` is set to false - Fixes resizing methods and streamlines their codepath ## Validation Steps Performed Manual validation with the Visual Studio Integrated Terminal tool window. (cherry picked from commit 9e86e29)
…7853) Adds the ability to manually handle the terminal renderer resizing events by allowing different render size and WPF control size. This is done by adding an `AutoFill` property to the control that prevents the renderer from automatically resizing and tells the WPF control to fill in the extra space with the terminal background as shown below: This PR adds the following: - Helper method in the DX engine to convert character viewports into pixel viewports - `AutoFill` property that prevents automatic resizing of the renderer - Tweaks and fixes that automatically fill in the empty space if `AutoFill` is set to false - Fixes resizing methods and streamlines their codepath ## Validation Steps Performed Manual validation with the Visual Studio Integrated Terminal tool window. (cherry picked from commit 9e86e29)
🎉 Handy links: |
🎉 Handy links: |
Adds the ability to manually handle the terminal renderer resizing
events by allowing different render size and WPF control size. This is
done by adding an
AutoFill
property to the control that prevents therenderer from automatically resizing and tells the WPF control to fill
in the extra space with the terminal background as shown below:
This PR adds the following:
pixel viewports
AutoFill
property that prevents automatic resizing of the rendererAutoFill
is set to falseValidation Steps Performed
Manual validation with the Visual Studio Integrated Terminal tool
window.