Closed mecvillarina closed 1 week ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
I can repro this issue at iOS platform on the latest 17.16.12 (build 410) (8.0.40&8.0.60).
Hello, looks like this will be fixed in this PR: https://github.com/dotnet/maui/pull/22476!
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