-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[iOS] Image on Button doesn't properly centered when setting ContentLayout to Top and text has 2 or more lines. #23635
Copy link
Copy link
Closed
Labels
area-controls-buttonButton, ImageButtonButton, ImageButtonfixed-in-8.0.90fixed-in-9.0.0-rc.2.24503.2p/1Work that is important, and has been scheduled for release in this or an upcoming sprintWork that is important, and has been scheduled for release in this or an upcoming sprintpartner/cat 😻this is an issue that impacts one of our partners or a customer our advisory team is engaged withthis is an issue that impacts one of our partners or a customer our advisory team is engaged withplatform/ioss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Metadata
Metadata
Assignees
Labels
area-controls-buttonButton, ImageButtonButton, ImageButtonfixed-in-8.0.90fixed-in-9.0.0-rc.2.24503.2p/1Work that is important, and has been scheduled for release in this or an upcoming sprintWork that is important, and has been scheduled for release in this or an upcoming sprintpartner/cat 😻this is an issue that impacts one of our partners or a customer our advisory team is engaged withthis is an issue that impacts one of our partners or a customer our advisory team is engaged withplatform/ioss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Done
Description
Image on Button doesn't properly centered when setting ContentLayout to Top and text has 2 or more lines. Please attached image
Steps to Reproduce
<Button ImageSource="ic_heart" LineBreakMode="WordWrap" Text="Add Waypoint" ContentLayout="Top,2" HorizontalOptions="Center" HeightRequest="150" WidthRequest="100" BackgroundColor="Blue" TextColor="White"/>Link to public reproduction project repository
https://github.com/mecvillarina/PocMaui
Version with bug
8.0.60 SR6
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 15
Did you find any workaround?
No response
Relevant log output
No response