From 3adf80d9198edaf93ba7e460b3c3d13dfc33a7cd Mon Sep 17 00:00:00 2001 From: PankajBhojwani Date: Fri, 4 Feb 2022 16:54:25 -0800 Subject: [PATCH] Fix toggle switches needing a negative margin (#12381) ## Summary of the Pull Request Reducing the `MinWidth` of a toggle switch means it no longer needs a negative margin to align it correctly ## PR Checklist * [ ] Closes #xxx * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx * [ ] Schema updated. * [x] I work here ## Validation Steps Performed Setting a different language no longer causes the toggle switch to fall out of the expander (cherry picked from commit 64efa6745d77fe8afdace42c46b65d69ec4bed7b) --- src/cascadia/TerminalSettingsEditor/CommonResources.xaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cascadia/TerminalSettingsEditor/CommonResources.xaml b/src/cascadia/TerminalSettingsEditor/CommonResources.xaml index 4956ac720b2..5707b1dc1ac 100644 --- a/src/cascadia/TerminalSettingsEditor/CommonResources.xaml +++ b/src/cascadia/TerminalSettingsEditor/CommonResources.xaml @@ -167,7 +167,8 @@ - + +