Remove WPF Material Design theme to attempt to remove blanking.

This commit is contained in:
Patrick Fic
2021-04-07 13:56:27 -07:00
parent 1a359a8798
commit 0a89c0c767
8 changed files with 245 additions and 3948 deletions

View File

@@ -12,13 +12,6 @@
xmlns:p="clr-namespace:BodyshopPartner.Properties"
xmlns:util="clr-namespace:BodyshopPartner.Utils"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
TextElement.FontWeight="Regular"
TextElement.FontSize="13"
TextOptions.TextFormattingMode="Ideal"
TextOptions.TextRenderingMode="Auto"
Background="{DynamicResource MaterialDesignPaper}"
FontFamily="{DynamicResource MaterialDesignFont}"
Closing="Window_Closing"
ResizeMode="NoResize"
WindowStartupLocation="CenterScreen">
@@ -33,7 +26,7 @@
Value="8" />
</Style>
<Style TargetType="TextBox"
BasedOn="{StaticResource MaterialDesignFloatingHintTextBox}">
>
<Setter Property="Margin"
Value="8" />
</Style>
@@ -55,7 +48,7 @@
VerticalAlignment="Center" />
<TextBlock Text="{x:Static p:Resources.Title_Login_Header}"
Style="{StaticResource MaterialDesignHeadline6TextBlock}"
VerticalAlignment="Center" />
</StackPanel>
@@ -85,7 +78,7 @@
<Button Command="{Binding LoginCommand}"
CommandParameter="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Window}}}"
Content="{x:Static p:Resources.Login}"
Style="{StaticResource MaterialDesignRaisedButton}"
IsDefault="True"
materialDesign:ButtonProgressAssist.Value="-1"
materialDesign:ButtonProgressAssist.IsIndicatorVisible="True"