[iOS] Image on Button doesn't properly centered when setting ContentLayout to Top and text has 2 or more lines. #23635
Labels
area-controls-button
Button, ImageButton
fixed-in-8.0.90
fixed-in-9.0.0-rc.2.24503.2
p/1
Work that is important, and has been scheduled for release in this or an upcoming sprint
partner/cat 😻
this is an issue that impacts one of our partners or a customer our advisory team is engaged with
platform/iOS 🍎
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
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
The text was updated successfully, but these errors were encountered: