-
Notifications
You must be signed in to change notification settings - Fork 540
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
[DevSpec] Underline #3277
[DevSpec] Underline #3277
Conversation
|
||
### Samples | ||
The following samples will be added to validate rendering: | ||
- TextBlock.Underline.json file which contains TextBlock with underline |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the proposal review and the spec, we decided to only add underline to TextRun. Whether we add the property to TextBlock (and all other TextRun properties to TextBlock) needs further discussion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Who is requesting this feature again and are they only requesting it for TextRun or also TextBlocks? What is the estimated cost for adding underllines to TextBlock as well? If not significant should we just include it if it makes sense and facilitates usability of the feature (so the customer doesnt have to remember which one to pick that has underline support) ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The customer only needs it for underline, and we had a disagreement about whether features in TextRun should also be on TextBlock, that disagreement needs to be solved before we add this feature to TextBlock (Matt and David disagreed with adding underline to TextBlock).
specs/DevSpecs/TextRun.Underline.md
Outdated
|
||
### UWP & .NET WPF | ||
|
||
TextBlock has a property called [TextDecorations](https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.textblock.textdecorations) which includes Underline |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TextBlock [](start = 0, length = 9)
update actual type #Closed
@almedina-ms / @andrewleader, are we able to now close this PR out given the code itself has been merged? |
Seems good to merge/close, the spec for underline should also be merged into master if the feature is coded up everywhere: #3086 |
This Pull request has had no recent activity for the past 2 days . Please take the necessary actions (review, address feedback or commit if reviewed already) to move this along. |
@almedina-ms this now goes into spec\designDiscussions ; Let;s get this checked in. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…m/microsoft/AdaptiveCards into user/almedina-ms/DevSpecUnderline
This is the devspec for underline
Microsoft Reviewers: Open in CodeFlow