Skip to content

Filled Text Box hint position #3174

@tanguyhardion

Description

@tanguyhardion

Bug explanation

The hint of the filled text box doesn't seem to be in the right position:

image
image

For reference, here is an outlined text box with the same code, which has the right alignment:

image

My code:

<TextBox Style="{StaticResource MaterialDesignFilledTextBox}"
                             materialDesign:HintAssist.Hint="Path"
                             materialDesign:HintAssist.IsFloating="True"
                             materialDesign:TextFieldAssist.HasLeadingIcon="True"
                             materialDesign:TextFieldAssist.LeadingIcon="DatabaseOutline"
                             Margin="15 0 0 0"
                             FontSize="15"
                             Padding="12 8"
                             Height="56"
                             Foreground="{DynamicResource OnBackground}" />

I tried using TextBoxViewMargin but without much success.

Version

4.8.0

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions