Fix blurry buttons (#1821)

This commit is contained in:
dansmor7 2022-05-26 11:04:01 +03:00 committed by GitHub
parent f79a50d4e9
commit 73419b9ee1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 14 deletions

View File

@ -982,8 +982,7 @@
FontFamily="{ThemeResource CalculatorFontFamily}"
FontSize="12"
Glyph=""
MirroredWhenRightToLeft="True"
UseLayoutRounding="False"/>
MirroredWhenRightToLeft="True"/>
</Border>
</ControlTemplate>
@ -1030,8 +1029,7 @@
FontFamily="{ThemeResource CalculatorFontFamily}"
FontSize="12"
Glyph="&#xE96F;"
MirroredWhenRightToLeft="True"
UseLayoutRounding="False"/>
MirroredWhenRightToLeft="True"/>
</Border>
</ControlTemplate>
</Grid.Resources>

View File

@ -918,7 +918,6 @@
Margin="2"
Style="{StaticResource ScrollViewerStyle}"
IsFocusEngagementEnabled="True"
UseLayoutRounding="False"
Visibility="Collapsed">
<ScrollViewer.RenderTransform>
<ScaleTransform x:Name="YearViewTransform"
@ -931,7 +930,6 @@
Margin="2"
Style="{StaticResource ScrollViewerStyle}"
IsFocusEngagementEnabled="True"
UseLayoutRounding="False"
Visibility="Collapsed">
<ScrollViewer.RenderTransform>
<ScaleTransform x:Name="DecadeViewTransform"

View File

@ -65,9 +65,8 @@
VerticalAlignment="Stretch"
Fill="Transparent"
Stroke="Transparent"
StrokeThickness="2"
UseLayoutRounding="false"/>
<ContentPresenter x:Name="ItemContent" UseLayoutRounding="false"/>
StrokeThickness="2"/>
<ContentPresenter x:Name="ItemContent" />
</Grid>
</ControlTemplate>
</Setter.Value>
@ -87,8 +86,7 @@
Fill="{x:Bind}"
StrokeThickness="0"
AutomationProperties.Name="{x:Bind local:EquationStylePanelControl.GetColorAutomationName((Brush))}"
ToolTipService.ToolTip="{x:Bind local:EquationStylePanelControl.GetColorAutomationName((Brush))}"
UseLayoutRounding="false"/>
ToolTipService.ToolTip="{x:Bind local:EquationStylePanelControl.GetColorAutomationName((Brush))}"/>
</DataTemplate>
</GridView.ItemTemplate>
<GridView.ItemsPanel>

View File

@ -335,7 +335,7 @@
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid x:Name="GraphingOperators" UseLayoutRounding="False">
<Grid x:Name="GraphingOperators">
<Grid.RowDefinitions>
<RowDefinition x:Name="OperatorPanelRow" Height="Auto"/>
<RowDefinition Height="1*"/>

View File

@ -1,4 +1,4 @@
<UserControl x:Class="CalculatorApp.OperatorsPanel"
<UserControl x:Class="CalculatorApp.OperatorsPanel"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
@ -6,7 +6,6 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
d:DesignHeight="315"
d:DesignWidth="235"
UseLayoutRounding="False"
mc:Ignorable="d">
<Grid>
<local:CalculatorStandardOperators x:Name="StandardOperators"