We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Context: I'd like to create an ImageButton with an icon and adjust the Padding to provide some space around the icon.
ImageButton
Padding
<ImageButton BackgroundColor="Brown" VerticalOptions="Center" HorizontalOptions="Center" CornerRadius="25" HeightRequest="50" WidthRequest="50" Padding="15" Source="icon_close" Clicked="ImageButton_OnClicked" />
Problem: When this ImageButton is places on a popup page, the Padding is ignored on Android. Works fine on iOS.
Expected behaviour: Padding creates space around the icon.
OS: Android
Screenshots: The popup has bluish transparent background, so it can be seen that the Green button respects padding, while Red button doesn't.
Repository: https://github.com/AntPolkanov/MAUI.ImageButton.PaddingIssue
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Context:
I'd like to create an
ImageButton
with an icon and adjust thePadding
to provide some space around the icon.Problem:
When this
ImageButton
is places on a popup page, thePadding
is ignored on Android. Works fine on iOS.Expected behaviour:
Padding creates space around the icon.
OS:
Android
Screenshots:
The popup has bluish transparent background, so it can be seen that the Green button respects padding, while Red button doesn't.
Repository:
https://github.com/AntPolkanov/MAUI.ImageButton.PaddingIssue
Thanks!
The text was updated successfully, but these errors were encountered: