question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[UWP][Image] [Image doesn't include spacing]

See original GitHub issue

Platform

  • UWP

Version of SDK

<PackageReference Include="AdaptiveCards" Version="1.2.4" />
<PackageReference Include="AdaptiveCards.Rendering.Uwp" Version="1.2.8" />

Details

The "Image" element doesn’t include any spacing set on it, but you will see spacing on a parent ColumnSet.

Reproduction

{
    "type": "AdaptiveCard",
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.2",
    "body": [
        {
            "text": "Here's a heading",
            "type": "TextBlock",
            "weight": "Bolder"
        },
        {
            "type": "ColumnSet",
            "spacing": "ExtraLarge",
            "columns": [
                {
                    "type": "Column",
                    "width": "stretch",
                    "items": [
                        {
                            "type": "Image",
                            "url": "https://img-prod-cms-rt-microsoft-com.akamaized.net/cms/api/am/imageFileData/RE1Mu3b?ver=5c31"
                        }
                    ]
                }
            ]
        },
        {
            "type": "Image",
            "url": "https://img-prod-cms-rt-microsoft-com.akamaized.net/cms/api/am/imageFileData/RE1Mu3b?ver=5c31",
            "spacing": "ExtraLarge"
        },
        {
            "text": "And some text below",
            "type": "TextBlock",
            "wrap": true
        }
    ]
}

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
paulcam206commented, Jun 3, 2020

has to do with SetSeparatorVisibility

1reaction
paulcam206commented, Jun 3, 2020

for what it’s worth, this doesn’t repro on master, still digging 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

UWP Image sometimes not visible until after page resize
As soon as i resize the app or trigger an event that changes the image source the missing images are displayed. Also the...
Read more >
Image Class (Windows.UI.Xaml.Controls) - UWP
Represents a control that displays an image. The image source is specified by referring to an image file, using several supported formats. The...
Read more >
UWP app image Quality issue - Microsoft Q&A
Hi, We need to show images in our UWP app. But in UWP app it does not have the same image quality that...
Read more >
Official Gazette of the United States Patent and Trademark ...
A method for a white balance of an optoelectronic scan unit for image - point ... a prede- termined voltage level Uwp which...
Read more >
Develop Microsoft HoloLens Apps Now
... image in space, when you are wearing a HoloLens, you not only see a ... and capabilities you will have at your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found