|
303 | 303 | </MultiTrigger> |
304 | 304 | <Trigger Property="wpf:TextFieldAssist.HasFilledTextField" Value="True"> |
305 | 305 | <Setter Property="Background" Value="{DynamicResource MaterialDesignTextFieldBoxBackground}" /> |
306 | | - <Setter Property="Padding" Value="16,8,12,8" /> |
307 | 306 | <Setter TargetName="Hint" Property="wpf:TextFieldAssist.TextBoxViewMargin" Value="{x:Static wpf:Constants.DefaultTextBoxViewMarginEmbedded}" /> |
308 | 307 | <Setter TargetName="HelperTextTextBlock" Property="Margin" Value="16,0,0,0" /> |
309 | 308 | </Trigger> |
310 | 309 | <Trigger Property="wpf:TextFieldAssist.HasOutlinedTextField" Value="True"> |
311 | 310 | <Setter Property="BorderBrush" Value="{DynamicResource MaterialDesignTextAreaBorder}" /> |
312 | 311 | <Setter Property="BorderThickness" Value="1" /> |
313 | | - <Setter Property="Padding" Value="16,16,12,16" /> |
314 | 312 | <Setter TargetName="Hint" Property="wpf:TextFieldAssist.TextBoxViewMargin" Value="{x:Static wpf:Constants.DefaultTextBoxViewMarginEmbedded}" /> |
315 | 313 | <Setter TargetName="HelperTextTextBlock" Property="Margin" Value="16,0,0,0" /> |
316 | 314 | <Setter TargetName="Hint" Property="FloatingOffset"> |
|
512 | 510 | <Setter Property="wpf:TextFieldAssist.HasFilledTextField" Value="True" /> |
513 | 511 | <Setter Property="wpf:TextFieldAssist.TextFieldCornerRadius" Value="4,4,0,0" /> |
514 | 512 | <Setter Property="wpf:TextFieldAssist.UnderlineCornerRadius" Value="0" /> |
| 513 | + <Setter Property="Padding" Value="{x:Static wpf:Constants.FilledTextBoxDefaultPadding}" /> |
515 | 514 | </Style> |
516 | 515 |
|
517 | 516 | <Style x:Key="MaterialDesignOutlinedTextBox" |
518 | 517 | TargetType="{x:Type TextBox}" |
519 | 518 | BasedOn="{StaticResource MaterialDesignFloatingHintTextBox}"> |
520 | 519 | <Setter Property="wpf:TextFieldAssist.HasOutlinedTextField" Value="True" /> |
521 | 520 | <Setter Property="wpf:TextFieldAssist.TextFieldCornerRadius" Value="4" /> |
| 521 | + <Setter Property="Padding" Value="{x:Static wpf:Constants.OutlinedTextBoxDefaultPadding}" /> |
522 | 522 | </Style> |
523 | 523 |
|
524 | 524 | </ResourceDictionary> |
0 commit comments