-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Labels
Description
Describe the bug
When placing an SVGImage inside a Button, the SVG does not show up, unless we put explicitly Width and Height on the SVGImage.
To Reproduce
Steps to reproduce the behavior:
- In a XAML, put an SVGImage without Width and Height information and assess it works and follows what is expected regarding its SizeType.
- Put the SVGImage inside a Button, and see that the image does not show up inside the button.
- Put Width and Height on the SVGImage, and see that the image is shown inside the button.
Expected behavior
The SVGImage should take the size as allowed by the Button, without the need to define its Width and Height.
Screenshots
Step 1:
Step 2:
Step 3: