diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-05-31 13:40:01 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-05-31 13:40:01 +0300 |
| commit | 6f27e675c8349d873f683255ae842a4de59ebde7 (patch) | |
| tree | 5abe56f20f89bc2ae775170e0726d17d267a0dbb /Software/Visual_Studio/Tango.Touch/Styles | |
| parent | f03676747c3c4207da0be4e59273cbbca9b79649 (diff) | |
| download | Tango-6f27e675c8349d873f683255ae842a4de59ebde7.tar.gz Tango-6f27e675c8349d873f683255ae842a4de59ebde7.zip | |
Working on PPC.
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch/Styles')
| -rw-r--r-- | Software/Visual_Studio/Tango.Touch/Styles/TouchButton.xaml | 14 | ||||
| -rw-r--r-- | Software/Visual_Studio/Tango.Touch/Styles/TouchIconButton.xaml | 1 |
2 files changed, 13 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Tango.Touch/Styles/TouchButton.xaml b/Software/Visual_Studio/Tango.Touch/Styles/TouchButton.xaml index d397a5597..4c979c2d4 100644 --- a/Software/Visual_Studio/Tango.Touch/Styles/TouchButton.xaml +++ b/Software/Visual_Studio/Tango.Touch/Styles/TouchButton.xaml @@ -9,5 +9,17 @@ <Setter Property="Width" Value="{Binding RelativeSource={RelativeSource Self},Path=ActualHeight}"></Setter> <Setter Property="TextElement.Foreground" Value="{StaticResource TangoLightForegroundBrush}"></Setter> </Style> - + + <Style x:Key="TangoFlatButton" TargetType="{x:Type controls:TouchButton}"> + <Setter Property="Background" Value="Transparent"></Setter> + <Setter Property="CornerRadius" Value="0"></Setter> + <Setter Property="TextElement.Foreground" Value="{StaticResource TangoLightForegroundBrush}"></Setter> + <Setter Property="RippleBrush" Value="{StaticResource TangoRippleDarkBrush}"></Setter> + <Setter Property="EnableDropShadow" Value="False"></Setter> + <Setter Property="Foreground" Value="{StaticResource TangoDarkForegroundBrush}"></Setter> + <Setter Property="HorizontalContentAlignment" Value="Stretch"></Setter> + <Setter Property="Padding" Value="10"></Setter> + <Setter Property="RippleFactor" Value="10"></Setter> + </Style> + </ResourceDictionary>
\ No newline at end of file diff --git a/Software/Visual_Studio/Tango.Touch/Styles/TouchIconButton.xaml b/Software/Visual_Studio/Tango.Touch/Styles/TouchIconButton.xaml index ab1cfffdb..bc150a640 100644 --- a/Software/Visual_Studio/Tango.Touch/Styles/TouchIconButton.xaml +++ b/Software/Visual_Studio/Tango.Touch/Styles/TouchIconButton.xaml @@ -9,7 +9,6 @@ <Setter Property="CornerRadius" Value="50"></Setter> <Setter Property="RippleCentered" Value="True"></Setter> <Setter Property="RippleFactor" Value="2"></Setter> - <Setter Property="components:TransformationHelper.TransformWhenPressed" Value="True"></Setter> <Setter Property="Width" Value="{Binding RelativeSource={RelativeSource Self},Path=ActualHeight}"></Setter> </Style> |
