Open LenkaFT opened 2 days ago
Sorry wrong code :
<TextBox Grid.Row="1" Style="{StaticResource MaterialDesignOutlinedTextBox}" GotFocus="SizeTextBox_GotFocus" LostFocus="TextBox_LostFocus" PreviewKeyDown="TextBox_PreviewKeyDown" materialDesign:HintAssist.Hint="{x:Static p:Resources.Height}" FontSize="25" Height="60" Padding="10" Margin="20" materialDesign:TextFieldAssist.SuffixText="{Binding Unit, Converter={StaticResource UnitAbbreviation}}" BorderBrush="{StaticResource PrimaryColorBrush}" materialDesign:HintAssist.Background="{StaticResource ThirdColorBrush}" materialDesign:ValidationAssist.Background="{StaticResource ThirdColorBrush}">
@LenkaFT I'm not sure if I understand your problem correctly because of multiple reasons:
Is your problem similar to this issue (3262)? If so, @nicolaihenriksen has a good explanation on it (here). Also have you tried upgrading to the latest version (currently 5.1.0) and see if the bug persists?
FYI: You can edit your comments on GitHub
Bug explanation
We've been using materialDesign for wpf for a while now but since the last update those TextBox:
https://i.sstatic.net/Hlk9BM2O.png
That looks like this in our XML:
<TextBox Grid.Row="1" Style="{StaticResource MaterialDesignOutlinedTextBox}" GotFocus="SizeTextBox_GotFocus" LostFocus="TextBox_LostFocus" PreviewKeyDown="TextBox_PreviewKeyDown" materialDesign:HintAssist.Hint="{x:Static p:Resources.Height}" FontSize="25" Height="60" Padding="10" Margin="20" materialDesign:TextFieldAssist.SuffixText="{Binding Unit, Converter={StaticResource UnitAbbreviation}}" BorderBrush="{StaticResource PrimaryColorBrush}" materialDesign:HintAssist.Background="{StaticResource ThirdColorBrush}" materialDesign:ValidationAssist.Background="{StaticResource ThirdColorBrush}">
have those weird black sidebars.
I tried to modify each and everyone props you can access through materialDesign:HintAssist but nothing did the trick.
I also tried to use this to modify the hint :
`