Open gagsti02 opened 3 years ago
Hi!
What are you want to do with Text field? Just change hint assist background, right? On my side all is fine. I can change hint assist backround with this attached property:
<Setter Property="materialDesign:HintAssist.Background" Value="{StaticResource MainBackColor}"/>
@Erapchu & @Keboo - I believe I am running into the same/similar issue (using VS19 & version 4.0.0 of the project). I attempt to stylize an outlined textbox and only certain properties are taken into account.
Controls are using a style in the App.xaml file with: BasedOn="{StaticResource MaterialDesignOutlinedTextBox}" TargetType="{x:Type TextBox}"
Neither of the setters below affect the applied TextBoxes or their floating hint. Margin, FontSize, and materialDesign:TextFieldAssist.HasLeadingIcon work though.
<Setter Property="Padding" Value="0"/>
<Setter Property="materialDesign:HintAssist.Background" Value="{DynamicResource MaterialDesignCardBackground}"/>
Additionally, the floating hint background appears to be stuck utilizing the brush MaterialDesignPaper unless you change the materialDesign:HintAssist.Background value on the control itself versus using a style in the App.xaml file.
I think I saw this was fixed in a previous PR or commit, but I am unsure. Let me know if I can provide any more information or screenshots to help with this.
Also having this problem. I have yet to succeed in changing it at all.
I tried Styling Outlined TextField but I can't bypass Hint Assist Background :