-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Button with Image on iOS and MacOS always missalign #8528
Comments
The space between the icon and the text is larger than it was in Xamarin.Forms. |
Yes, I'm seeing this also on Catalyst. No matter how wide I make the button or what padding is set, the image is at the edge. |
My workaround is to compose an Image and a Label
So instead of this: I get this: |
Yes, is good idea, but i prefer keep it original, e.g. button has hover effect, click effect. So I've got another workaround - i realized negative padding works fine for image location:
|
Is there any progress on this? |
This should have been closed when #10309 was merged. |
Description
Not possible to use Image with Button control it always missalign (see screenshots). Image always align to edge w/o any padding.
Using padding will not help because there always extra space in between image and text
Steps to Reproduce
Version with bug
6.0.400 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS, macOS
Affected platform versions
iOS 15, MacOS 12.3
Did you find any workaround?
No workaround found yet
Relevant log output
No response
The text was updated successfully, but these errors were encountered: