-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grid Column and RowSpacing don't display in the colour of its parent #4946
Comments
Thank you so much for your bug report! Unfortunately, we cannot reproduce your issue with the information above, could you provide a sample project and screenshots that we can reproduce your issue? That should greatly speed up the process, thanks! |
Hi @JohnHDev. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
Verified Repro with Windows. Repro project is available: |
@hartez Do you know if this will this be picked up before GA? We have a workaround but it is isn't very pretty. |
The milestone is set for GA, so the goal right now is to address it before then. |
@hartez Im embarrassed to say I have gotten this completely wrong, I misremembered code I wrote in XF many years ago. 'Nothing to see here, move along' |
Description
In XF, we could add a Frame with a background colour lets say black, place a grid in it with a background colour of white, set a number of rows and columns, with row and column spacing values of 1. The colour of the frame would be visible in the row and column spacing, giving the grid the appearance of grid lines.
This isn't working in .NET Maui, we would have to add a LOT of box views to replicate the same behaviour.
Steps to Reproduce
Add a Frame with a background colour lets say black, place a grid in it with a background colour of white, set 5 rows and columns with grid length star, with row and column spacing values of 1. The colour of the frame should be visible in the row and column spacing, giving the grid the appearing of grid lines. This isn't working in .NET Maui.
Version with bug
Preview 13 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android, Windows
Affected platform versions
iOS 15, windows
Did you find any workaround?
Lots and lots of box views.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: