Repository navigation
Conversation
…ent with…" This reverts commit fa0beb6.
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR reverts a previous implementation that added automatic icon resizing functionality for iOS tab bars to make them more consistent with other platforms. The revert removes the auto-resize feature and returns to the original behavior.
- Removes the
AutoResizeTabBarImagemethod fromTabbedViewExtensionsthat handled icon sizing based on Apple's guidelines - Eliminates the rendering mode preservation logic in
UIImageExtensions.ResizeImageSource - Removes all test files and UI test cases related to the auto-resize functionality
Reviewed Changes
Copilot reviewed 13 out of 22 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| UIImageExtensions.cs | Simplifies ResizeImageSource by removing rendering mode preservation |
| TabbedViewExtensions.cs | Removes AutoResizeTabBarImage method and related size constants |
| TabbedRenderer.cs | Removes trait collection change handling and icon resizing logic |
| ShellSectionRenderer.cs | Removes auto-resize call for shell section icons |
| ShellItemRenderer.cs | Removes trait collection change handling for shell items |
| PublicAPI.Unshipped.txt | Removes API entries for TraitCollectionDidChange overrides |
| Test files | Deletes all test cases and UI definitions for the auto-resize feature |
Comments suppressed due to low confidence (2)
src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt:261
- This is a potentially breaking change as it removes public API overrides for
TraitCollectionDidChange. Since this is a revert, please ensure this change is appropriate for the current version being released and consider the impact on consumers who may have been relying on this behavior.
~override Microsoft.Maui.Controls.HorizontalStackLayout.ComputeConstraintForView(Microsoft.Maui.Controls.View view) -> void
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reverts #29093
@kubaflo seems we might need to check whats going wrong as this is failing the tests.