diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-05-01 20:37:35 +0300 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-05-01 20:37:35 +0300 |
| commit | a7d992457310a303099aff36368f68f0c13821e0 (patch) | |
| tree | d12d42b3f5737b18799f9197258bb16baa17640b /Software/Visual_Studio/Tango.Touch | |
| parent | e4b6e16045c6222f8a4a30a39dea53bcc230dee9 (diff) | |
| download | Tango-a7d992457310a303099aff36368f68f0c13821e0.tar.gz Tango-a7d992457310a303099aff36368f68f0c13821e0.zip | |
GUI changes.
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch')
| -rw-r--r-- | Software/Visual_Studio/Tango.Touch/Controls/TouchToggleSlider.xaml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Software/Visual_Studio/Tango.Touch/Controls/TouchToggleSlider.xaml b/Software/Visual_Studio/Tango.Touch/Controls/TouchToggleSlider.xaml index adb76ebd3..66328ea2d 100644 --- a/Software/Visual_Studio/Tango.Touch/Controls/TouchToggleSlider.xaml +++ b/Software/Visual_Studio/Tango.Touch/Controls/TouchToggleSlider.xaml @@ -178,14 +178,15 @@ <Setter.Value> <ControlTemplate TargetType="{x:Type local:TouchToggleSlider}"> <Border> + <Border.Effect> + <DropShadowEffect ShadowDepth="0" BlurRadius="1" Opacity="1"/> + </Border.Effect> + <components:Ripple CornerRadius="{TemplateBinding CornerRadius}" Centered="True" RippleBrush="{StaticResource TangoRippleDarkBrush}"> <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="{TemplateBinding CornerRadius}"> - <Border.Effect> - <DropShadowEffect ShadowDepth="0" BlurRadius="10" Opacity="0.5"/> - </Border.Effect> - + <Border.Style> <Style TargetType="Border"> <Setter Property="Background" Value="{Binding RelativeSource={RelativeSource AncestorType=local:TouchToggleSlider},Path=UncheckedBackground}"></Setter> |
