Skip to content

fix: Fix Given_SymbolIcon.Validate_Size test failure - #13069

Closed
Youssef1313 wants to merge 2 commits into
unoplatform:masterfrom
Youssef1313:symbolicon-stretching
Closed

Youssef1313 wants to merge 2 commits into
unoplatform:masterfrom
Youssef1313:symbolicon-stretching

Conversation

@Youssef1313

@Youssef1313 Youssef1313 commented Aug 1, 2023 •

Copy link
Copy Markdown
Member

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:

Other information

Internal Issue (If applicable):

@github-actions

Copy link
Copy Markdown
Contributor

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.

@github-actions github-actions Bot added the stale This item has been marked as stale and will be closed if there is no activity. label Jan 29, 2025
@Youssef1313

Copy link
Copy Markdown
Member Author

@MartinZikmund I'm guessing this PR may need the fixes for ContentPresenter/ContentControl which are blocked on lifecycle which is blocked on proper layouting.

@github-actions github-actions Bot removed the stale This item has been marked as stale and will be closed if there is no activity. label Jan 30, 2025
@github-actions

github-actions Bot commented Apr 4, 2025

Copy link
Copy Markdown
Contributor

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.

@github-actions github-actions Bot added the stale This item has been marked as stale and will be closed if there is no activity. label Apr 4, 2025
@MartinZikmund MartinZikmund removed the stale This item has been marked as stale and will be closed if there is no activity. label Apr 22, 2025
@github-actions

Copy link
Copy Markdown
Contributor

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.

@github-actions github-actions Bot added the stale This item has been marked as stale and will be closed if there is no activity. label Jul 15, 2025
@github-actions

Copy link
Copy Markdown
Contributor

This PR was closed because it has been stalled for 10 days with no activity.

@github-actions github-actions Bot closed this Jul 26, 2025
@MartinZikmund MartinZikmund reopened this Jul 28, 2025
@github-actions github-actions Bot removed the stale This item has been marked as stale and will be closed if there is no activity. label Jul 29, 2025
@github-actions

Copy link
Copy Markdown
Contributor

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.

@github-actions github-actions Bot added the stale This item has been marked as stale and will be closed if there is no activity. label Sep 28, 2025
@github-actions

github-actions Bot commented Oct 9, 2025

Copy link
Copy Markdown
Contributor

This PR was closed because it has been stalled for 10 days with no activity.

@github-actions github-actions Bot closed this Oct 9, 2025
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 5, 2026
@MartinZikmund MartinZikmund removed the stale This item has been marked as stale and will be closed if there is no activity. label Jul 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants