Repository navigation
fix: Fix Given_SymbolIcon.Validate_Size test failure - #13069
Youssef1313 wants to merge 2 commits into
Conversation
|
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or it will be closed in 10 days. |
|
@MartinZikmund I'm guessing this PR may need the fixes for ContentPresenter/ContentControl which are blocked on lifecycle which is blocked on proper layouting. |
|
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or it will be closed in 10 days. |
|
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or it will be closed in 10 days. |
|
This PR was closed because it has been stalled for 10 days with no activity. |
|
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or it will be closed in 10 days. |
|
This PR was closed because it has been stalled for 10 days with no activity. |
GitHub Issue (If applicable): #9080
PR Type
What kind of change does this PR introduce?
What is the current behavior?
On Android (and likely iOS as well), the symbol icon is stretching to all available width.
The stretching shouldn't happen because the SymbolIcon's parent should be ContentPresenter whose horizontal alignment is left. This ContentPresenter is supposed to be coming from the ContentControl template.
The problem is that the template is only set for netstdref (Skia and Wasm) and macOS.
So, on Android/iOS, the parent of the SymbolIcon is ContentControl whose horizontal alignment is stretch, and there is nothing that limits the size.
What is the new behavior?
ContentControl template is corrected on Android and iOS
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.Other information
Internal Issue (If applicable):