-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Negative Padding values fail on Windows work on Android #6182
Copy link
Copy link
Closed
Labels
area-layoutStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterplatform/windowss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Description
Description
I was using a label as part of a DataTemplate for a CollectionView and the label happened to have a padding with a negative value. That CollectionView showed nothing in Windows but worked as expected in Android.
Steps to Reproduce
- Unzip the project from Simple-padding.zip
- Compile and run on Android, you should see this, the expected result:

- Run on Windows and you should see this:, a blank page because no items are rendered:

Version with bug
Release Candidate 1 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows, I was not able test on other platforms
Affected platform versions
Android 11
Did you find any workaround?
Only avoiding negative values
Relevant log output
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-layoutStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterplatform/windowss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working