Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

SvgViewbox ignores the whitespace around the image #190

Closed
jaytonic opened this issue May 25, 2021 · 1 comment
Closed

SvgViewbox ignores the whitespace around the image #190

jaytonic opened this issue May 25, 2021 · 1 comment

Comments

@jaytonic
Copy link

jaytonic commented May 25, 2021

Hi,

I've 2 SVG that I want to overlay.

One is the main image, always displayed, taking the full height/width.
The second one(linked) is only on the bottom of the image. But when I superpose them, it gets displayed on the middle:

<Grid>
  <svgc:SvgViewbox Source="SingleExpansionCollar.svg"  />
  <svgc:SvgViewbox Stretch="None" Source="SingleExpansionCollarBottom.svg"
         Visibility="{Binding IsBottomPartVisible, Converter={StaticResource BooleanToVisibilityConverter}}"/>   
</Grid>

Is there a way to have the second image(...Bottom.svg) that takes the full space without trimming the whitespace?

CollarSingle.zip

@paulushub
Copy link
Contributor

@jgrossrieder Please, can you draw an picture/illustration of how you want the final result to look like? Just render each, copy the screenshots and position with any drawing application like MS-Paint.

@ElinamLLC ElinamLLC locked and limited conversation to collaborators May 25, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants