Open Xiaoy312 opened 3 years ago
The links are dead. @Xiaoy312 Do you still have the sample project?
Sorry, it appears that I've scrapped the project... I can't even find a trace of it on my machine :| However, you should be able to jsut reproduce it with just that xaml snippet. Of note, the image file can be found here: https://github.com/unoplatform/uno/blob/master/src/SamplesApp/UITests.Shared/Assets/test_image_100_100.png
GitHubBuild Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported. - uno/test_image_100_100.png at master · unoplatform/uno
Current behavior
<ImageBrush Stretch="None" />
doesnt work.How to reproduce it (as minimally and precisely as possible)
https://github.com/Xiaoy312/XyPoB/tree/bug/samples/uno-sprite-sheet-image-brush
Workaround
paint/draw the control yourself: https://github.com/Xiaoy312/XyPoB/blob/bug/samples/uno-sprite-sheet-image-brush/src/XyPoB.Shared/Controls/Sprite.cs#L89 or, use multiple images instead of a sprite-sheet.
Environment
Nuget Package:
Nuget Package Version(s): 3.5.0-dev.16
Affected platform(s):
IDE:
Relevant plugins:
Anything else we need to know?