-
-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Labels
status: needs-triageWaiting to be triaged by our memebersWaiting to be triaged by our memebers
Description
Describe the bug
When I was updating the Relative Panel in the gallery app to match the WinUI3 gallery, I noticed that if we don't set the height for the Relative Panel, it causes the application to freeze and crash. I'm not sure if this issue is specific to the gallery application, but I think it's worth investigating
<ui:RelativePanel Width="300" >
<Rectangle
x:Name="Rectangle1"
Width="50"
Height="50"
Fill="Red" />
<Rectangle
x:Name="Rectangle2"
Width="50"
Height="50"
Margin="8,0,0,0"
ui:RelativePanel.RightOf="Rectangle1"
Fill="Blue" />
<Rectangle
x:Name="Rectangle3"
Width="50"
Height="50"
ui:RelativePanel.AlignRightWithPanel="True"
Fill="Green" />
<Rectangle
x:Name="Rectangle4"
Width="50"
Height="50"
Margin="0,8,0,0"
Fill="Yellow"
ui:RelativePanel.AlignHorizontalCenterWith="Rectangle3"
ui:RelativePanel.Below="Rectangle3" />
</ui:RelativePanel>Reproduction
(tested on Gallery app)
Add relative panel > Not set the Heigh property > Freeze and crash
Suggested Solution
No response
Library Version
0.10.1
Operating System
Windows 11
Framework
.NET Core and .NET
Framework Version
6
Source of Package
Self-Compiled
Additional Notes
No response
Validations
- Check that there isn't already an issue that reports the same or similar problem.
- Check that this is a bug in the library that should be fixed, not a feature, also this is not about the documentation. (Or please choose the right repo and template.)
- This is one single problem, or a few problems with the same cause. (If you want to report multiple problems, please create one issue for every single problem.)
- You've checked that this problem still exists in the latest version. (Keep in mind that we don't provide any support for old versions.)
- You know that we can't guarantee that we will satisfy your request. This is not really our duty to do everything anyone asks for. Also, you will treat our staff, contributors, and other users with respect and kindness.
- You're sure there's something wrong with the library itself, not how you're using it. (If you are having issues using it and need help, please go to discussion.)
Metadata
Metadata
Assignees
Labels
status: needs-triageWaiting to be triaged by our memebersWaiting to be triaged by our memebers