dotnet / dotnet/maui

FontImageSource in iOS does not honor padding in buttons

Open
#7,047 7 comments 0 reactions 0 assignees View on GitHub
area-fonts legacy-area-controls platform/ios s/triaged s/verified t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 15h
Merged PRs (30d)
290

Description

### Description

Adding a FontImageSource to a button does not display as expected
![Bug](https://user-images.githubusercontent.com/101600436/167924191-306fdaaf-c5d2-4a13-91c7-63c737391ba6.png)
.

### Steps to Reproduce
```





```
### Version with bug

Release Candidate 3 (current)

### Last version that worked well

Unknown/Other

### Affected platforms

iOS

### Affected platform versions

iOS 15

### Did you find any workaround?

no

### Relevant log output

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the minimal XAML reproduction using Button, Padding, and FontImageSource on iOS 15, then trace the iOS button image and layout path. Confirm the behavior against a button without FontImageSource and verify that the declared padding is reflected in the rendered button.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, ios
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.