Describe the bug
A clear and concise description of what the bug is.
Expected behavior (according to UWP) is that relativepanel sizes to the content, unless alignment = stretch.
<RelativePanel Background="White" VerticalAlignment="Top" HorizontalAlignment="Left">
<Rectangle Name="rect1" Height="20" Width="20" Fill="Red" />
<Rectangle Name="rect2" Height="10" Width="10" Fill="Yellow" RelativePanel.AlignBottomWithPanel="True" />
</RelativePanel>
in uwp this produces..

but in HandyControl.RelativePanel we get...

The issue is that Measure does not create a graph and calculate the correct size.
So arrange tells the graph is has the available space.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- .net: [e.g. 4.6.2]
- IDE [e.g. vs2017]
- Version [e.g. 1.0.0]
Additional context
Add any other context about the problem here.
Describe the bug
A clear and concise description of what the bug is.
Expected behavior (according to UWP) is that relativepanel sizes to the content, unless alignment = stretch.
in uwp this produces..

but in HandyControl.RelativePanel we get...

The issue is that Measure does not create a graph and calculate the correct size.
So arrange tells the graph is has the available space.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
Add any other context about the problem here.