diff options
| author | Avi Levkovich <avi@twine-s.com> | 2020-02-06 13:33:13 +0200 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2020-02-06 13:33:13 +0200 |
| commit | 67f576c95d1eed3846611a008253bdba35b5767c (patch) | |
| tree | 6a22cae752a282acd82ffd8b723436c603c86754 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views | |
| parent | 917d08c0c4cfd95b6bf545a857361bcf0da5ea8a (diff) | |
| parent | 063724aa818cc243b10a5c202e28b3cb49e6503f (diff) | |
| download | Tango-67f576c95d1eed3846611a008253bdba35b5767c.tar.gz Tango-67f576c95d1eed3846611a008253bdba35b5767c.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/MainView.xaml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/MainView.xaml b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/MainView.xaml index 15f2a30e0..ea6e93412 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/MainView.xaml +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/MainView.xaml @@ -47,13 +47,18 @@ <materialDesign:DrawerHost IsLeftDrawerOpen="{Binding Source={x:Reference MenuToggleButton}, Path=IsChecked}"> <materialDesign:DrawerHost.LeftDrawerContent> - <DockPanel LastChildFill="False" TextElement.Foreground="{StaticResource MainWindow.Foreground}" > - <StackPanel MinWidth="300" DockPanel.Dock="Top"> + <DockPanel LastChildFill="False" > + <DockPanel.Style> + <Style TargetType="{x:Type DockPanel}"> + <Setter Property="TextElement.Foreground" Value="{StaticResource MainWindow.Foreground}"/> + </Style> + </DockPanel.Style> + <StackPanel MinWidth="300" DockPanel.Dock="Top" > <Grid> - <Button Foreground="{StaticResource BlackBrush}" Style="{StaticResource MaterialDesignFlatButton}" Command="{Binding HomeCommand}" HorizontalAlignment="Left" HorizontalContentAlignment="Left" Margin="5 10 0 0" Width="200" Height="40" Padding="5 8 8 8"> + <Button Style="{StaticResource MaterialDesignFlatButton}" Command="{Binding HomeCommand}" HorizontalAlignment="Left" HorizontalContentAlignment="Left" Margin="5 10 0 0" Width="200" Height="40" Padding="5 8 8 8" Foreground="{StaticResource BlackBrush}"> <StackPanel Orientation="Horizontal"> - <materialDesign:PackIcon VerticalAlignment="Center" Kind="Home" Width="32" Height="32"></materialDesign:PackIcon> - <TextBlock FontSize="16" VerticalAlignment="Center" Margin="10 0 0 0">Home</TextBlock> + <materialDesign:PackIcon VerticalAlignment="Center" Kind="Home" Width="32" Height="32" Foreground="{StaticResource HomePageForeground}"></materialDesign:PackIcon> + <TextBlock FontSize="16" VerticalAlignment="Center" Margin="10 0 0 0" Foreground="{StaticResource HomePageForeground}">Home</TextBlock> </StackPanel> </Button> |
