diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-07-09 12:44:59 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-07-09 12:44:59 +0300 |
| commit | ca96477441518c8300474a317e34cb5e7e1550fc (patch) | |
| tree | 29c1aa30faab7fc4c74e57f519c93de83e70cf92 /Software/Visual_Studio/Tango.Touch/Styles | |
| parent | 36d1edb4f9cc4fbd9c134d3b387bcfec05424537 (diff) | |
| download | Tango-ca96477441518c8300474a317e34cb5e7e1550fc.tar.gz Tango-ca96477441518c8300474a317e34cb5e7e1550fc.zip | |
PPC Performance improvements.
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch/Styles')
| -rw-r--r-- | Software/Visual_Studio/Tango.Touch/Styles/TouchButton.xaml | 1 | ||||
| -rw-r--r-- | Software/Visual_Studio/Tango.Touch/Styles/TouchIconButton.xaml | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Touch/Styles/TouchButton.xaml b/Software/Visual_Studio/Tango.Touch/Styles/TouchButton.xaml index fea5c541c..7dad89c17 100644 --- a/Software/Visual_Studio/Tango.Touch/Styles/TouchButton.xaml +++ b/Software/Visual_Studio/Tango.Touch/Styles/TouchButton.xaml @@ -8,6 +8,7 @@ </ResourceDictionary.MergedDictionaries> <Style x:Key="TangoRoundTouchButton" TargetType="{x:Type controls:TouchButton}"> + <Setter Property="RenderOptions.EdgeMode" Value="Unspecified"></Setter> <Setter Property="Background" Value="{StaticResource TangoMidAccentBrush}"></Setter> <Setter Property="CornerRadius" Value="50"></Setter> <Setter Property="Width" Value="{Binding RelativeSource={RelativeSource Self},Path=ActualHeight}"></Setter> diff --git a/Software/Visual_Studio/Tango.Touch/Styles/TouchIconButton.xaml b/Software/Visual_Studio/Tango.Touch/Styles/TouchIconButton.xaml index 86a9a7dff..0ca262736 100644 --- a/Software/Visual_Studio/Tango.Touch/Styles/TouchIconButton.xaml +++ b/Software/Visual_Studio/Tango.Touch/Styles/TouchIconButton.xaml @@ -6,6 +6,8 @@ <Style TargetType="{x:Type controls:TouchIconButton}" x:Key="TangoRoundTouchIconButton"> <Setter Property="Background" Value="{StaticResource TangoMidAccentBrush}"></Setter> + <Setter Property="RenderOptions.EdgeMode" Value="Unspecified"></Setter> + <Setter Property="RenderOptions.BitmapScalingMode" Value="Fant"></Setter> <Setter Property="CornerRadius" Value="50"></Setter> <Setter Property="RippleCentered" Value="True"></Setter> <Setter Property="RippleFactor" Value="2"></Setter> |
