mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 14:13:30 -07:00
reformatting
This commit is contained in:
parent
65c9e92f1e
commit
db7f3c587e
2 changed files with 6 additions and 8 deletions
|
@ -42,10 +42,10 @@ DEPENDENCY_PROPERTY_INITIALIZATION(Calculator, IsScientific);
|
|||
DEPENDENCY_PROPERTY_INITIALIZATION(Calculator, IsProgrammer);
|
||||
|
||||
Calculator::Calculator() :
|
||||
m_doAnimate(false),
|
||||
m_isLastAnimatedInScientific(false),
|
||||
m_isLastAnimatedInProgrammer(false),
|
||||
m_resultAnimate(false)
|
||||
m_doAnimate(false),
|
||||
m_isLastAnimatedInScientific(false),
|
||||
m_isLastAnimatedInProgrammer(false),
|
||||
m_resultAnimate(false)
|
||||
{
|
||||
SetFontSizeResources();
|
||||
InitializeComponent();
|
||||
|
@ -192,7 +192,7 @@ void Calculator::UpdateViewState()
|
|||
state = L"Scientific";
|
||||
Model->IsDecimalEnabled = true;
|
||||
ResultsMVisualStateTrigger->MinWindowHeight = 544;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
state = L"Standard";
|
||||
|
@ -633,7 +633,6 @@ void Calculator::EnableMemoryControls(bool enable)
|
|||
void Calculator::EnableControls(bool enable)
|
||||
{
|
||||
OpsPanel->IsEnabled = enable;
|
||||
|
||||
EnableMemoryControls(enable);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<UserControl x:Class="CalculatorApp.UnitConverter"
|
||||
<UserControl x:Class="CalculatorApp.UnitConverter"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:automation="using:CalculatorApp.Common.Automation"
|
||||
|
@ -204,7 +204,6 @@
|
|||
<Setter Property="Margin" Value="0,0,0,0"/>
|
||||
<Setter Property="DisplayMargin" Value="0,0,0,4"/>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="CurrencySymbolBaseStyle" TargetType="TextBlock">
|
||||
<Setter Property="FontWeight" Value="Light"/>
|
||||
<Setter Property="HorizontalAlignment" Value="Left"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue