Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

RoundImageEx Height Collapses in StackPanel #1391

@michael-hawker

Description

@michael-hawker

Follow-up from PR #1373, if you place a RoundImageEx control in a StackPanel it behaves differently than an Image or ImageEx and is not shown at the full image height. It is instead truncated:

image

In the above, they were given 200 width in the parent container for images of 200x200 (no width/height given on the images themselves). ImageEx fills the available parent container size, but RoundImageEx instead is super tiny.

It's really if you compare this:

    <StackPanel x:Name="Container"
                Orientation="Vertical">
        <controls:RoundImageEx 
                                Source="/Assets/Photos/LunchBreak.jpg"
                                Stretch="UniformToFill"
                                />
    </StackPanel>    

to this:

    <StackPanel x:Name="Container"
                Orientation="Vertical">
        <controls:ImageEx
                                Source="/Assets/Photos/LunchBreak.jpg"
                                Stretch="UniformToFill"
                                />
    </StackPanel>    

You'll see they behave differently, though I'd expect RoundImageEx to be the same size as ImageEx and use the size of the parent container like Image/ImageEx does.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions