Fix blurry buttons (#1821)
This commit is contained in:
parent
f79a50d4e9
commit
73419b9ee1
@ -982,8 +982,7 @@
|
|||||||
FontFamily="{ThemeResource CalculatorFontFamily}"
|
FontFamily="{ThemeResource CalculatorFontFamily}"
|
||||||
FontSize="12"
|
FontSize="12"
|
||||||
Glyph=""
|
Glyph=""
|
||||||
MirroredWhenRightToLeft="True"
|
MirroredWhenRightToLeft="True"/>
|
||||||
UseLayoutRounding="False"/>
|
|
||||||
</Border>
|
</Border>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
|
|
||||||
@ -1030,8 +1029,7 @@
|
|||||||
FontFamily="{ThemeResource CalculatorFontFamily}"
|
FontFamily="{ThemeResource CalculatorFontFamily}"
|
||||||
FontSize="12"
|
FontSize="12"
|
||||||
Glyph=""
|
Glyph=""
|
||||||
MirroredWhenRightToLeft="True"
|
MirroredWhenRightToLeft="True"/>
|
||||||
UseLayoutRounding="False"/>
|
|
||||||
</Border>
|
</Border>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Grid.Resources>
|
</Grid.Resources>
|
||||||
|
@ -918,7 +918,6 @@
|
|||||||
Margin="2"
|
Margin="2"
|
||||||
Style="{StaticResource ScrollViewerStyle}"
|
Style="{StaticResource ScrollViewerStyle}"
|
||||||
IsFocusEngagementEnabled="True"
|
IsFocusEngagementEnabled="True"
|
||||||
UseLayoutRounding="False"
|
|
||||||
Visibility="Collapsed">
|
Visibility="Collapsed">
|
||||||
<ScrollViewer.RenderTransform>
|
<ScrollViewer.RenderTransform>
|
||||||
<ScaleTransform x:Name="YearViewTransform"
|
<ScaleTransform x:Name="YearViewTransform"
|
||||||
@ -931,7 +930,6 @@
|
|||||||
Margin="2"
|
Margin="2"
|
||||||
Style="{StaticResource ScrollViewerStyle}"
|
Style="{StaticResource ScrollViewerStyle}"
|
||||||
IsFocusEngagementEnabled="True"
|
IsFocusEngagementEnabled="True"
|
||||||
UseLayoutRounding="False"
|
|
||||||
Visibility="Collapsed">
|
Visibility="Collapsed">
|
||||||
<ScrollViewer.RenderTransform>
|
<ScrollViewer.RenderTransform>
|
||||||
<ScaleTransform x:Name="DecadeViewTransform"
|
<ScaleTransform x:Name="DecadeViewTransform"
|
||||||
|
@ -65,9 +65,8 @@
|
|||||||
VerticalAlignment="Stretch"
|
VerticalAlignment="Stretch"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
Stroke="Transparent"
|
Stroke="Transparent"
|
||||||
StrokeThickness="2"
|
StrokeThickness="2"/>
|
||||||
UseLayoutRounding="false"/>
|
<ContentPresenter x:Name="ItemContent" />
|
||||||
<ContentPresenter x:Name="ItemContent" UseLayoutRounding="false"/>
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Setter.Value>
|
</Setter.Value>
|
||||||
@ -87,8 +86,7 @@
|
|||||||
Fill="{x:Bind}"
|
Fill="{x:Bind}"
|
||||||
StrokeThickness="0"
|
StrokeThickness="0"
|
||||||
AutomationProperties.Name="{x:Bind local:EquationStylePanelControl.GetColorAutomationName((Brush))}"
|
AutomationProperties.Name="{x:Bind local:EquationStylePanelControl.GetColorAutomationName((Brush))}"
|
||||||
ToolTipService.ToolTip="{x:Bind local:EquationStylePanelControl.GetColorAutomationName((Brush))}"
|
ToolTipService.ToolTip="{x:Bind local:EquationStylePanelControl.GetColorAutomationName((Brush))}"/>
|
||||||
UseLayoutRounding="false"/>
|
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</GridView.ItemTemplate>
|
</GridView.ItemTemplate>
|
||||||
<GridView.ItemsPanel>
|
<GridView.ItemsPanel>
|
||||||
|
@ -335,7 +335,7 @@
|
|||||||
</VisualState>
|
</VisualState>
|
||||||
</VisualStateGroup>
|
</VisualStateGroup>
|
||||||
</VisualStateManager.VisualStateGroups>
|
</VisualStateManager.VisualStateGroups>
|
||||||
<Grid x:Name="GraphingOperators" UseLayoutRounding="False">
|
<Grid x:Name="GraphingOperators">
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition x:Name="OperatorPanelRow" Height="Auto"/>
|
<RowDefinition x:Name="OperatorPanelRow" Height="Auto"/>
|
||||||
<RowDefinition Height="1*"/>
|
<RowDefinition Height="1*"/>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<UserControl x:Class="CalculatorApp.OperatorsPanel"
|
<UserControl x:Class="CalculatorApp.OperatorsPanel"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
@ -6,7 +6,6 @@
|
|||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
d:DesignHeight="315"
|
d:DesignHeight="315"
|
||||||
d:DesignWidth="235"
|
d:DesignWidth="235"
|
||||||
UseLayoutRounding="False"
|
|
||||||
mc:Ignorable="d">
|
mc:Ignorable="d">
|
||||||
<Grid>
|
<Grid>
|
||||||
<local:CalculatorStandardOperators x:Name="StandardOperators"
|
<local:CalculatorStandardOperators x:Name="StandardOperators"
|
||||||
|
Loading…
Reference in New Issue
Block a user