microsoft-ui-xaml: [Bug] Button CharacterSpacing is not working
Describe the bug
The CharacterSpacing property does nothing for a Button.
I was actually trying to fix a bug in Xamarin.Forms.
After not being able to fix the issue, I created a new UWP app and reproduced the issue.
Steps to reproduce the bug Repro: uwptemp.zip
1.) create a blank uwp app 2.) add the following content to the content of the MainPage:
<StackPanel Orientation="Vertical">
<Button Content="Character spacing 8" CharacterSpacing="800"/>
<TextBlock Text="Character spacing 8" CharacterSpacing="800"/>
<TextBox Text="Character spacing 8" CharacterSpacing="800"/>
</StackPanel>
3.) Run the app
Expected behavior The text of the button should also have a character spacing as the textbox and textblock does.
Screenshots

Version Info
NuGet package version: Microsoft.NETCore.UniversalWindowsPlatform 6.2.10
Windows app type:
| UWP | Win32 |
|---|---|
| Windows 10 version | Saw the problem? |
|---|---|
| Insider Build (xxxxx) | |
| May 2020 Update (19041) | |
| November 2019 Update (18363) | Yes |
| May 2019 Update (18362) | |
| October 2018 Update (17763) | |
| April 2018 Update (17134) | |
| Fall Creators Update (16299) | |
| Creators Update (15063) |
| Device form factor | Saw the problem? |
|---|---|
| Desktop | |
| Xbox | |
| Surface Hub | |
| IoT |
Additional context This is the link of the reported xamarin forms issue: https://github.com/xamarin/Xamarin.Forms/issues/9291
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 19 (4 by maintainers)
That could just be inheritance, that is implicit. Without access to the Button or TextBox code, its hard to know for sure. Guess that will be when the WinUI 3.0 code drops.
If you request a new feature or API, yes it has to be approved. In this case however, this is a big which does not need API review and approval, so it is good to go.
You can ask the WinUI team to assign the issue to you, though I think it is clear for others that you want to work on this issue, so I think that it’s not needed to assign it to you.
@chingucoding Thanks a lot. I will ask here when having any questions.