diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-06-20 16:24:10 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-06-20 16:24:10 +0300 |
| commit | cda2e6fb9c2f6e92e3800a8d21a2691f5744bb6b (patch) | |
| tree | b791635c0030f5e9a41d7eacd3388b2aee685f50 /Software/Visual_Studio/Tango.Touch/Controls/TouchExpander.xaml | |
| parent | bc5b579516e8b770338ff2924cc2215d1f46da2d (diff) | |
| download | Tango-cda2e6fb9c2f6e92e3800a8d21a2691f5744bb6b.tar.gz Tango-cda2e6fb9c2f6e92e3800a8d21a2691f5744bb6b.zip | |
Working on PPC...
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch/Controls/TouchExpander.xaml')
| -rw-r--r-- | Software/Visual_Studio/Tango.Touch/Controls/TouchExpander.xaml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Software/Visual_Studio/Tango.Touch/Controls/TouchExpander.xaml b/Software/Visual_Studio/Tango.Touch/Controls/TouchExpander.xaml index 87a164158..9122744bf 100644 --- a/Software/Visual_Studio/Tango.Touch/Controls/TouchExpander.xaml +++ b/Software/Visual_Studio/Tango.Touch/Controls/TouchExpander.xaml @@ -9,6 +9,7 @@ </ResourceDictionary.MergedDictionaries> <Style TargetType="{x:Type local:TouchExpander}"> + <Setter Property="Padding" Value="10"></Setter> <Setter Property="Background" Value="{StaticResource TangoPrimaryBackgroundBrush}"></Setter> <Setter Property="Template"> <Setter.Value> @@ -17,7 +18,7 @@ BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}" CornerRadius="{TemplateBinding CornerRadius}"> <Border.Effect> - <DropShadowEffect Color="Gray" ShadowDepth="0" /> + <DropShadowEffect Color="{StaticResource TangoDropShadowColor}" ShadowDepth="0" /> </Border.Effect> <Grid> @@ -27,7 +28,7 @@ </Grid.RowDefinitions> <DockPanel Grid.Row="0"> - <local:TouchToggleButton CornerRadius="50" RenderTransformOrigin="0.5,0.5" Background="{StaticResource TangoExpanderIconBrush}" EnableDropShadow="False" Width="32" Height="32" DockPanel.Dock="Right" IsChecked="{Binding RelativeSource={RelativeSource AncestorType=local:TouchExpander},Path=IsExpanded,Mode=TwoWay}"> + <local:TouchToggleButton CornerRadius="50" RenderTransformOrigin="0.5,0.5" Background="{StaticResource TangoExpanderIconBackgroundBrush}" EnableDropShadow="False" Width="40" Height="40" DockPanel.Dock="Right" IsChecked="{Binding RelativeSource={RelativeSource AncestorType=local:TouchExpander},Path=IsExpanded,Mode=TwoWay}"> <local:TouchToggleButton.RenderTransform> <RotateTransform x:Name="Rotate" /> </local:TouchToggleButton.RenderTransform> @@ -53,11 +54,11 @@ </local:TouchToggleButton.Triggers> <local:TouchToggleButton.CheckedContent> <Grid> - <fa:ImageAwesome Icon="Minus" Foreground="{StaticResource TangoDarkForegroundBrush}" Width="10" Height="10" /> + <fa:ImageAwesome Icon="Minus" Foreground="{StaticResource TangoExpanderIconForegroundBrush}" Width="10" Height="10" /> </Grid> </local:TouchToggleButton.CheckedContent> <Grid> - <fa:ImageAwesome Icon="Plus" Foreground="{StaticResource TangoDarkForegroundBrush}" Width="10" Height="10" /> + <fa:ImageAwesome Icon="Plus" Foreground="{StaticResource TangoExpanderIconForegroundBrush}" Width="10" Height="10" /> </Grid> </local:TouchToggleButton> |
