-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[regression/7.0.81] Strange padding problem using grid #16598
Comments
It looks like the middle column has a HorizontalStackLayout, not an Entry. If you remove the HSL from the layout and just use the Entry, do things lay out as you expect? |
Doesn´t make a difference. It behaves the same. And it should work with or without a HorizontalStackLayout, shouldn´t it? |
Same case here, just the right side doubles the size when using padding. Margin works fine |
Hi @FM1973. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version. You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository. 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. |
If I'm following the repro correctly I'm not seeing this reproduce in net8 |
@PureWeen I can confirm the problem has been solved in 8.0.3 |
I can confirm too - this issue doesn't exist in mau .bet 8.0.3. |
Description
I got a special case where the padding of an outer grid gets doubled on the right side when data changes.
I got a grid. Inside the grid is a verticalstack and inside the stack is another grid with 3 columns. The most left and most right columns have a fixed width of 50. The middle column has a width of STAR.
In the middle column there is an entry. If you change the content of the entry an it reaches the max width of the middle column, the outer grid doubles the padding on the rigtht. It´s hard to explain. Please try the repo.
By the way: it doesn´t matter if I use an entry. You can even put a label in the middle column.
I pinned the maui version to 7.0.92!!!
Steps to Reproduce
Link to public reproduction project repository
https://github.com/FM1973/RefreshGridRepo.git
Version with bug
7.0.92
Last version that worked well
7.0.52
Affected platforms
Android
Affected platform versions
Android 11 and up
Did you find any workaround?
Not really.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: