Implement LayoutCompression for .NET MAUI
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
### Description
The idea is that when compiling controls, for example StackLayout, if it does not contain any rules that affect LayoutCompression, it will automatically be set to true.
The advantage of this would be that the performance of the view would increase and it would not be necessary to type each time for all elements individually.
Example:
` ... `
would not be affected by this change, since compression is what causes the error.
In the case of a
` ... `
which only serves as a container for certain elements, a layout compression would make sense. This would improve the performance of the user's app and would not need in-depth knowledge for newbies.
### Public API Changes
...
### Intended Use-Case
`...`
internal to
`...`
Contributor guide
Research direction
The issue names StackLayout, LayoutCompression, and CompressedLayout.IsHeadless, but no files or tests. Start by locating the existing compression implementation and the control-compilation path, then determine which layout rules are safe to infer. Done requires an agreed scope, public API behavior, and coverage for compressed and margin cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop-dev, frontend, mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100