Skip to content

Conversation

@mKay00
Copy link
Contributor

@mKay00 mKay00 commented May 13, 2019

I deleted the duplicate line in TermControl mentioned in #732

@mKay00 mKay00 changed the title Fixed duplicate line in TermControl #732 Fixed duplicate line in TermControl (#732) May 13, 2019
Copy link
Member

@zadjii-msft zadjii-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiousity, what happens when you change the line to

swapChainPanel.SetValue(FrameworkElement::VerticalAlignmentProperty(),
            box_value(VerticalAlignment::Stretch));

@zadjii-msft zadjii-msft added Area-TerminalControl Issues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.) Issue-Bug It either shouldn't be doing this or needs an investigation. labels May 13, 2019
@mKay00
Copy link
Contributor Author

mKay00 commented May 13, 2019

Actually nothing, since the default value seems to be Stretch for both Vertical and Horizontal:

A horizontal alignment setting, as a value of the enumeration. The default is Stretch.
https://docs.microsoft.com/de-de/dotnet/api/system.windows.frameworkelement.horizontalalignment?view=netframework-4.8

So, I guess I can delete both lines and commit again?

@zadjii-msft
Copy link
Member

Oh, then yea go ahead!

@msftclas
Copy link

msftclas commented May 13, 2019

CLA assistant check
All CLA requirements met.

@DHowett-MSFT DHowett-MSFT merged commit aeef340 into microsoft:master May 13, 2019
@DHowett-MSFT
Copy link
Contributor

Thanks!

ObsidianPhoenix pushed a commit to ObsidianPhoenix/Terminal that referenced this pull request May 15, 2019
* Fixed duplicate line in TermControl microsoft#732

* Deleted lines, because values were unnecessarily set to default values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-TerminalControl Issues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.) Issue-Bug It either shouldn't be doing this or needs an investigation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants