Closed WilliamForsdal closed 3 years ago
Describe the bug Let me know if this is actually a bug, or if I am just missing something.
When pressing a button with custom content, for example:
<Button> <StackPanel> <Ellipse Width="20" Height="20" Fill="Red" /> <TextBlock Text="Text!" /> </StackPanel> </Button>
The text does not change color to the ripple foreground color.
To Reproduce Steps to reproduce the behavior:
<Window.Style> <Style TargetType="Window" BasedOn="{StaticResource {x:Type Window}}" /> </Window.Style> <Grid> <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" > <Button Content="This button has correct foreground when pressed" /> <Button Margin="5" HorizontalAlignment="Center"> <StackPanel> <Ellipse Width="20" Height="20" Fill="Red" /> <TextBlock Text="This does not!" /> </StackPanel> </Button> </StackPanel> </Grid>
Expected behavior Pressing the buttons should change the foreground color to the correct ripple foreground.
Screenshots
Additional context
Nevermind, didn't read the docs, as always 👍
Describe the bug Let me know if this is actually a bug, or if I am just missing something.
When pressing a button with custom content, for example:
The text does not change color to the ripple foreground color.
To Reproduce Steps to reproduce the behavior:
Expected behavior Pressing the buttons should change the foreground color to the correct ripple foreground.
Screenshots
![image](https://user-images.githubusercontent.com/8739499/96268195-0b751e00-0fc9-11eb-8fe6-db15756668d2.png)
Additional context