Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
set TextFieldAssist.HasFilledTextField to true in MaterialDesignFille…
…dComboBox style
  • Loading branch information
ElieTaillard committed Apr 15, 2022
commit 6b8e78e3864e432a8fe88b83a4e89421831438f8
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,10 @@
</Grid>
</AdornerDecorator>
<ControlTemplate.Triggers>
<Trigger Property="wpf:TextFieldAssist.HasFilledTextField" Value="True">
<Setter Property="Padding" Value="16 8 12 8" />
<Setter TargetName="HelperTextWrapper" Property="Margin" Value="16 0 0 0" />
</Trigger>
<Trigger
Property="wpf:TextFieldAssist.HasOutlinedTextField"
Value="True">
Expand Down Expand Up @@ -1362,6 +1366,7 @@
</Style>

<Style x:Key="MaterialDesignFilledComboBox" TargetType="{x:Type ComboBox}" BasedOn="{StaticResource MaterialDesignFloatingHintComboBox}">
<Setter Property="wpf:TextFieldAssist.HasFilledTextField" Value="True"/>
<Setter Property="wpf:TextFieldAssist.TextFieldCornerRadius" Value="4,4,0,0" />
<Setter Property="wpf:ComboBoxAssist.ShowSelectedItem" Value="True"/>
<Setter Property="VerticalContentAlignment" Value="Stretch" />
Expand Down