Repository navigation
Fixed layouting problem with min sizes + misc layout bugs - #2481
Conversation
|
The build 11551 found UI Test snapshots differences.
|
9d49ccb to
f508c96
Compare
|
Related issue: #2397 The bug in that issue can be reduced to the fact that the <Border Background="Green"
Height="60"
Margin="10"
Width="80">
<Border Margin="10"
MinHeight="60"
Background="Blue"
VerticalAlignment="Center">
<Rectangle Fill="Indigo"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
Margin="10"/>
</Border>
</Border> |
8a2feae to
e89ee80
Compare
b94318c to
88289d2
Compare
a74fa43 to
b1fb124
Compare
Restore latest vstest engine
6a004ae to
a37c94d
Compare
| LayoutSlotWithMarginsAndAlignments = rect; | ||
| LayoutSlotWithMarginsAndAlignments = | ||
| VisualTreeHelper.GetParent(this) is UIElement parent | ||
| ? rect.DeflateBy(parent.GetBorderThickness()) |
There was a problem hiding this comment.
| ? size | ||
| : desiredSize | ||
| ); | ||
| childSize = isStretch |
There was a problem hiding this comment.
| invocationList.Remove(handler); | ||
|
|
||
| // TODO: Removing handler in HTML not supported yet | ||
| // var command = $"Uno.UI.WindowManager.current.unregisterEventOnView(\"{HtmlId}\", \"{eventName}\");"; |
|
The build 12122 found UI Test snapshots differences.
|
Bugfix
Applying both a
Heightand aMinHeighton an element produce an invalid arranged size.What is the current behavior?
The arrange size will be of the
Heightsize when it should beMinHeight.What is the new behavior?
Behave like Windows/WinUI/UWP
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.Issues