Skip to content
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

[Rendering][Xaml] Positive and Destructive Actions have incorrect button styling #8840

Open
krschau opened this issue Feb 28, 2024 · 0 comments

Comments

@krschau
Copy link
Collaborator

krschau commented Feb 28, 2024

Target Platforms

Other

SDK Version

1.5

Application Name

Dev Home

Problem Description

Actions with style "default" have correct, rounded corner. Actions with Positive or Destructive styling have square corners.

Screenshots

Default:
image

Positive and Destructive:
image

Card JSON

{
	"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
	"type": "AdaptiveCard",
	"version": "1.5",
	"body": [
		{
			"type": "TextBlock",
			"text": "Adaptive Card design session",
			"size": "large",
			"weight": "bolder",
			"wrap": true,
			"style": "heading"
		}
	],
	"actions": [
		{
			"type": "Action.Submit",
			"style": "positive",
			"title": "Snooze",
			"data": {
				"x": "snooze"
			}
		},
		{
			"type": "Action.Submit",
			"style": "destructive",
			"title": "I'll be late",
			"data": {
				"x": "late"
			}
		}
	]
}

Sample Code Language

No response

Sample Code

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant