From 4b6b8fa8fa9449b6f05aa9e14120dbc18b2a68d9 Mon Sep 17 00:00:00 2001 From: Rudy Huyn Date: Wed, 20 Mar 2019 09:54:02 -0700 Subject: [PATCH] Fix auto-scaling of CalculationResult when the current locale displays currency symbols on the right (#246) * Fix auto-scaling of CalculationResult when the current locale displays symbols at the right * Formatting * add padding * modify padding of ValueContainer --- src/Calculator/Views/UnitConverter.xaml | 31 ++++++++++++++++----- src/Calculator/Views/UnitConverter.xaml.cpp | 13 ++------- 2 files changed, 26 insertions(+), 18 deletions(-) diff --git a/src/Calculator/Views/UnitConverter.xaml b/src/Calculator/Views/UnitConverter.xaml index 05736331..e0f337a4 100644 --- a/src/Calculator/Views/UnitConverter.xaml +++ b/src/Calculator/Views/UnitConverter.xaml @@ -230,19 +230,19 @@ BasedOn="{StaticResource CurrencySymbolBaseStyle}" TargetType="TextBlock"> - +