Custom layout base on AbsoluteLayout will repeated measure many times #7060
Labels
area/layout 🔲
StackLayout, GridLayout, ScrollView, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter
platform/windows 🪟
t/bug
Something isn't working
Description
I try to custom layout, it name ConstraintLayout.
First, i let it derive from Layout like AbsoluteLayout, but nothing show, i don't why.
Then, i ask help form Stackoverflow,see problem, someone say it need derive from AbsoluteLayout, so i change my code, see the changed result ConstraintLayout.Maui.cs, you can see the change.
When use AbsoluteLayout as base class, all control can show, but it will measure many times, when no control in ConstraintLayout, it need measure 6 times at start.
when two control in ConstraintLayout, it need measure many times.
I have made ConstraintLayout of WinUI, it just need 2 times at start.
I want know,
Steps to Reproduce
Version with bug
Release Candidate 3 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows, I was not able test on other platforms
Affected platform versions
Windows SDK 10.0.22000
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: