microsoft / microsoft/AdaptiveCards
Monospace font in widget board doesn't work
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2k
- Forks
- 595
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 1
Description
Describe the bug
When using a monospace font in an adaptive card for on the widget board it uses a regular font
Steps to reproduce the bug
- Build a widget that shows this adaptive card
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.6",
"body": [
{
"type": "TextBlock",
"text": "Bla bla bla",
"wrap": true,
"fontType": "Monospace"
}
]
}
- Look at the widget; notice the font isn't monospace
Expected behavior
No response
Screenshots
No response
NuGet package version
None
Packaging type
No response
Windows version
No response
IDE
No response
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the supplied Adaptive Card JSON on the widget board and trace how TextBlock fontType is rendered there. Done means a TextBlock with fontType set to Monospace visibly uses a monospace font in the widget.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100