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

[UWP] Renderer ignores image size in ImageSet #3481

Closed
almedina-ms opened this issue Sep 23, 2019 · 3 comments
Closed

[UWP] Renderer ignores image size in ImageSet #3481

almedina-ms opened this issue Sep 23, 2019 · 3 comments
Labels
Area-Inconsistency Bugs around renderer inconsistencies across different platforms

Comments

@almedina-ms
Copy link
Contributor

Platform

  • .NET HTML
  • .NET WPF
  • Android
  • iOS
  • UWP

Version of SDK

latest master

Details

The UWP renderer doesn't respect the size of images when the image set has imageSize: "auto"

UWP Renderer
image

WPF Renderer
image

{
	"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
	"type": "AdaptiveCard",
	"version": "1.0",
	"body": [
		{
			"type": "ImageSet",
			"imageSize": "auto",
			"images": [
				{
					"type": "Image",
					"url": "http://adaptivecards.io/content/cats/1.png",
					"size": "small"
				},
				{
					"type": "Image",
					"url": "http://adaptivecards.io/content/cats/2.png",
					"size": "medium"
				},
				{
					"type": "Image",
					"url": "http://adaptivecards.io/content/cats/3.png",
					"size": "large",
					"requires": 
					{
						"adaptiveCard": "1.4"
					},
					"fallback": 
					{
						"type": "TextBlock",
						"text": "Some text"
					}
				},
				{
					"type": "Image",
					"url": "http://adaptivecards.io/content/cats/1.png",
					"backgroundColor": "#228B22"
				},
				{
					"type": "Image",
					"url": "http://adaptivecards.io/content/cats/2.png",
					"size": "stretch"
				},
				{
					"type": "Image",
					"url": "http://adaptivecards.io/content/cats/3.png",
					"style": "person"
				}
			]
		}
	]
}

Bug separated from: #3163

@ghost ghost added the no-recent-activity label Nov 29, 2019
@ghost
Copy link

ghost commented Nov 29, 2019

This issue has been automatically marked as stale because it has not had any activity for 5 days.

@RebeccaAnne RebeccaAnne added the Area-Inconsistency Bugs around renderer inconsistencies across different platforms label Jul 27, 2020
@RebeccaAnne RebeccaAnne added this to the Backlog milestone Jul 27, 2020
@RebeccaAnne
Copy link
Contributor

See also #4043

@RebeccaAnne RebeccaAnne removed this from the Backlog milestone May 6, 2021
@paulcam206
Copy link
Member

Fixing this issue is not currently on our roadmap. Feel free to continue the conversation on this issue. If you feel strongly about this issue, please let us know and we can reevaluate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Inconsistency Bugs around renderer inconsistencies across different platforms
Projects
None yet
Development

No branches or pull requests

4 participants