mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 14:13:30 -07:00
Removed remaining conflicting styles from rebase operation.
This commit is contained in:
parent
621652ab66
commit
a6864144f7
1 changed files with 0 additions and 176 deletions
|
@ -356,182 +356,6 @@
|
||||||
<Setter Property="ZoomMode" Value="Disabled"/>
|
<Setter Property="ZoomMode" Value="Disabled"/>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style x:Key="CalculationResultStyleL" TargetType="Controls:CalculationResult">
|
|
||||||
<Setter Property="Background" Value="Transparent"/>
|
|
||||||
<Setter Property="Foreground" Value="{ThemeResource SystemControlPageTextBaseHighBrush}"/>
|
|
||||||
<Setter Property="HorizontalAlignment" Value="Stretch"/>
|
|
||||||
<Setter Property="VerticalAlignment" Value="Stretch"/>
|
|
||||||
<Setter Property="HorizontalContentAlignment" Value="Right"/>
|
|
||||||
<Setter Property="VerticalContentAlignment" Value="Top"/>
|
|
||||||
<Setter Property="IsTextScaleFactorEnabled" Value="False"/>
|
|
||||||
<Setter Property="UseSystemFocusVisuals" Value="True"/>
|
|
||||||
<Setter Property="Template">
|
|
||||||
<Setter.Value>
|
|
||||||
<ControlTemplate TargetType="Controls:CalculationResult">
|
|
||||||
<Grid x:Name="Border" Background="{TemplateBinding Background}">
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="12"/>
|
|
||||||
<ColumnDefinition/>
|
|
||||||
<ColumnDefinition Width="12"/>
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
<VisualStateManager.VisualStateGroups>
|
|
||||||
<VisualStateGroup x:Name="ActiveStates">
|
|
||||||
<VisualState x:Name="Active">
|
|
||||||
<VisualState.Setters>
|
|
||||||
<Setter Target="NormalOutput.FontWeight" Value="SemiBold"/>
|
|
||||||
<Setter Target="NormalOutput.IsTextSelectionEnabled" Value="True"/>
|
|
||||||
</VisualState.Setters>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="Normal"/>
|
|
||||||
</VisualStateGroup>
|
|
||||||
</VisualStateManager.VisualStateGroups>
|
|
||||||
<ScrollViewer x:Name="TextContainer"
|
|
||||||
Grid.Column="1"
|
|
||||||
Padding="0,0,0,0"
|
|
||||||
Style="{ThemeResource ResultsScrollerSnapped}"
|
|
||||||
AutomationProperties.AccessibilityView="Raw">
|
|
||||||
<TextBlock x:Name="NormalOutput"
|
|
||||||
Margin="{TemplateBinding DisplayMargin}"
|
|
||||||
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
|
||||||
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
|
||||||
Foreground="{TemplateBinding Foreground}"
|
|
||||||
FontSize="{TemplateBinding FontSize}"
|
|
||||||
FontWeight="Light"
|
|
||||||
AutomationProperties.AccessibilityView="Raw"
|
|
||||||
Text="{TemplateBinding DisplayValue}"
|
|
||||||
TextAlignment="{TemplateBinding HorizontalContentAlignment}"
|
|
||||||
TextWrapping="NoWrap"/>
|
|
||||||
</ScrollViewer>
|
|
||||||
<HyperlinkButton x:Name="ScrollLeft"
|
|
||||||
Grid.Column="0"
|
|
||||||
Width="20"
|
|
||||||
MinWidth="20"
|
|
||||||
MinHeight="24"
|
|
||||||
Margin="-4,0,-4,0"
|
|
||||||
Padding="0,-3,0,4"
|
|
||||||
VerticalAlignment="Top"
|
|
||||||
HorizontalContentAlignment="Center"
|
|
||||||
VerticalContentAlignment="Center"
|
|
||||||
Foreground="{ThemeResource SystemControlForegroundAccentBrush}"
|
|
||||||
BorderThickness="0"
|
|
||||||
Visibility="Collapsed">
|
|
||||||
<FontIcon x:Name="ScrollLeftText"
|
|
||||||
FontFamily="{ThemeResource SymbolThemeFontFamily}"
|
|
||||||
FontSize="12"
|
|
||||||
Glyph=""/>
|
|
||||||
</HyperlinkButton>
|
|
||||||
<HyperlinkButton x:Name="ScrollRight"
|
|
||||||
Grid.Column="2"
|
|
||||||
Width="20"
|
|
||||||
MinWidth="20"
|
|
||||||
MinHeight="24"
|
|
||||||
Margin="-4,0,-4,0"
|
|
||||||
Padding="0,-3,0,4"
|
|
||||||
VerticalAlignment="Top"
|
|
||||||
HorizontalContentAlignment="Center"
|
|
||||||
VerticalContentAlignment="Center"
|
|
||||||
Foreground="{ThemeResource SystemControlForegroundAccentBrush}"
|
|
||||||
BorderThickness="0"
|
|
||||||
Visibility="Collapsed">
|
|
||||||
<FontIcon x:Name="ScrollRightText"
|
|
||||||
FontFamily="{ThemeResource SymbolThemeFontFamily}"
|
|
||||||
FontSize="12"
|
|
||||||
Glyph=""/>
|
|
||||||
</HyperlinkButton>
|
|
||||||
</Grid>
|
|
||||||
</ControlTemplate>
|
|
||||||
</Setter.Value>
|
|
||||||
</Setter>
|
|
||||||
</Style>
|
|
||||||
<Style x:Key="CalculationResultStyleM" TargetType="Controls:CalculationResult">
|
|
||||||
<Setter Property="Background" Value="Transparent"/>
|
|
||||||
<Setter Property="Foreground" Value="{ThemeResource SystemControlPageTextBaseHighBrush}"/>
|
|
||||||
<Setter Property="HorizontalAlignment" Value="Stretch"/>
|
|
||||||
<Setter Property="VerticalAlignment" Value="Stretch"/>
|
|
||||||
<Setter Property="HorizontalContentAlignment" Value="Right"/>
|
|
||||||
<Setter Property="VerticalContentAlignment" Value="Top"/>
|
|
||||||
<Setter Property="IsTextScaleFactorEnabled" Value="False"/>
|
|
||||||
<Setter Property="UseSystemFocusVisuals" Value="True"/>
|
|
||||||
<Setter Property="Template">
|
|
||||||
<Setter.Value>
|
|
||||||
<ControlTemplate TargetType="Controls:CalculationResult">
|
|
||||||
<Grid x:Name="Border" Background="{TemplateBinding Background}">
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="12"/>
|
|
||||||
<ColumnDefinition/>
|
|
||||||
<ColumnDefinition Width="12"/>
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
<VisualStateManager.VisualStateGroups>
|
|
||||||
<VisualStateGroup x:Name="ActiveStates">
|
|
||||||
<VisualState x:Name="Active">
|
|
||||||
<VisualState.Setters>
|
|
||||||
<Setter Target="NormalOutput.IsTextSelectionEnabled" Value="True"/>
|
|
||||||
<Setter Target="NormalOutput.FontWeight" Value="SemiBold"/>
|
|
||||||
</VisualState.Setters>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="Normal"/>
|
|
||||||
</VisualStateGroup>
|
|
||||||
</VisualStateManager.VisualStateGroups>
|
|
||||||
<ScrollViewer x:Name="TextContainer"
|
|
||||||
Grid.Column="1"
|
|
||||||
Padding="0,0,0,0"
|
|
||||||
Style="{ThemeResource ResultsScrollerSnapped}"
|
|
||||||
AutomationProperties.AccessibilityView="Raw">
|
|
||||||
<TextBlock x:Name="NormalOutput"
|
|
||||||
Margin="{TemplateBinding DisplayMargin}"
|
|
||||||
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
|
||||||
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
|
||||||
Foreground="{TemplateBinding Foreground}"
|
|
||||||
FontSize="{TemplateBinding FontSize}"
|
|
||||||
FontWeight="Light"
|
|
||||||
AutomationProperties.AccessibilityView="Raw"
|
|
||||||
Text="{TemplateBinding DisplayValue}"
|
|
||||||
TextAlignment="{TemplateBinding HorizontalContentAlignment}"
|
|
||||||
TextWrapping="NoWrap"/>
|
|
||||||
</ScrollViewer>
|
|
||||||
<HyperlinkButton x:Name="ScrollLeft"
|
|
||||||
Grid.Column="0"
|
|
||||||
Width="20"
|
|
||||||
MinWidth="20"
|
|
||||||
MinHeight="24"
|
|
||||||
Margin="-4,0,-4,0"
|
|
||||||
Padding="0,-3,0,4"
|
|
||||||
VerticalAlignment="Top"
|
|
||||||
HorizontalContentAlignment="Center"
|
|
||||||
VerticalContentAlignment="Center"
|
|
||||||
Foreground="{ThemeResource SystemControlForegroundAccentBrush}"
|
|
||||||
BorderThickness="0"
|
|
||||||
Visibility="Collapsed">
|
|
||||||
<FontIcon x:Name="ScrollLeftText"
|
|
||||||
FontFamily="{ThemeResource SymbolThemeFontFamily}"
|
|
||||||
FontSize="12"
|
|
||||||
Glyph=""/>
|
|
||||||
</HyperlinkButton>
|
|
||||||
<HyperlinkButton x:Name="ScrollRight"
|
|
||||||
Grid.Column="2"
|
|
||||||
Width="20"
|
|
||||||
MinWidth="20"
|
|
||||||
MinHeight="24"
|
|
||||||
Margin="-4,0,-4,0"
|
|
||||||
Padding="0,-3,0,4"
|
|
||||||
VerticalAlignment="Top"
|
|
||||||
HorizontalContentAlignment="Center"
|
|
||||||
VerticalContentAlignment="Center"
|
|
||||||
Foreground="{ThemeResource SystemControlForegroundAccentBrush}"
|
|
||||||
BorderThickness="0"
|
|
||||||
Visibility="Collapsed">
|
|
||||||
<FontIcon x:Name="ScrollRightText"
|
|
||||||
FontFamily="{ThemeResource SymbolThemeFontFamily}"
|
|
||||||
FontSize="12"
|
|
||||||
Glyph=""/>
|
|
||||||
</HyperlinkButton>
|
|
||||||
</Grid>
|
|
||||||
</ControlTemplate>
|
|
||||||
</Setter.Value>
|
|
||||||
</Setter>
|
|
||||||
</Style>
|
|
||||||
<Style x:Key="CalculationResultStyleS" TargetType="Controls:CalculationResult">
|
|
||||||
|
|
||||||
<Style x:Key="CalculationResultStyle"
|
<Style x:Key="CalculationResultStyle"
|
||||||
TargetType="Controls:CalculationResult">
|
TargetType="Controls:CalculationResult">
|
||||||
<Setter Property="Background" Value="Transparent"/>
|
<Setter Property="Background" Value="Transparent"/>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue