Closed StefanoRivolta-Previero closed 5 months ago
Fix for bug explained in #3357 which was introduced in #3118
With the fix now this code works correctly:
<StackPanel Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"> <materialDesign:Card Width="100" Height="100" Padding="6"> <Border Background="red"/> </materialDesign:Card> <Border Background="{StaticResource MaterialDesign.Brush.Card.Background}" Width="100" Height="100" CornerRadius="4" Margin="0 10 0 0" Padding="6" Effect="{StaticResource MaterialDesignElevationShadow1}"> <Border Background="red"/> </Border> </StackPanel>
Fix for bug explained in #3357 which was introduced in #3118
With the fix now this code works correctly: