Repository navigation
New <Grid> implementation - #5811
Conversation
8144738 to
f2eedac
Compare
| { | ||
| internal interface DefinitionCollectionBase : IList<DefinitionBase> | ||
| { | ||
| DefinitionBase GetItem(int index); |
There was a problem hiding this comment.
Should be internal as well ?
| DefinitionBase GetItem(int index); | |
| internal DefinitionBase GetItem(int index); |
|
|
||
| <!--NAVIGATION BUTTONS--> | ||
| <Border Background="{StaticResource Color08Brush}" | ||
| Grid.ColumnSpan="2" |
There was a problem hiding this comment.
To be able to test at some point I had to prevent any overflow. In this case, there's only one column, so the ColumnSpan were crashing my first version of the Grid. That's fixed now. Do you think I should revert this, since it's pratically a non-sense?
| else | ||
| { | ||
| x = (float)((renderSize.Width - strokeThickness) / geometrySize.Width); | ||
| var renderWidthWithStrokeThickness = Math.Max(renderSize.Width - strokeThickness, 0); |
|
Awesome to see this coming together! I always wondered why the WPF code wasn't pulled in a few years ago but since you have access to WinUI source all the better! |
…ree()` by adding details about Grid/Canvas positioning.
…tioning of an element.
…Pixel" mode were not properly applied when the UseLayoutRounding were true.
…f Grid panel. Also include fix for when Grid.Row + Grid.RowSpan is overflowing the RowDefinitions (+equivalent in columns)
…ection of definitions changes.
e060e7e to
24bc968
Compare
64fdbf3 to
f94673b
Compare
Co-authored-by: Jérôme Laban <[email protected]>
|
The build 27795 found UI Test snapshots differences: Details
|
|
The build 27794 found UI Test snapshots differences: Details
|
|
The build 27794 found UI Test snapshots differences: Details
|
|
The build 27794 found UI Test snapshots differences: Details
|
|
The build 27794 found UI Test snapshots differences: Details
|
|
The build 27794 found UI Test snapshots differences: Details
|
|
The build 27794 found UI Test snapshots differences: Details
|
|
This is great: several longstanding issues are now closed and views carried over from UWP that would previously crash the app now load just fine. I was hoping a new grid implementation would save a lot of debugging/bug fixes and it has! |
Thank you, this great feedback and always good to hear our team's efforts are appreciated and leveraged! |

Fixes #432
Fixes #3483
Fixes #4727
Fixes #4919
Fixes #4212
Fixes #1885
May fix #2201 (unchecked yet)
May fix #2088 (unchecked yet)
May fix #1611 (unchecked yet)
May fix #5630 (unchecked yet - no repro in issue)
Should fix https://github.com/unoplatform/nventive-private/issues/164 (need to test in concerned app)
Related to #4231
Related to #2603
Feature
Old implementation of
<Grid />has been scrapped in the PR and replaced by the code from UWP/WinUI,A lot of bugs and performance improvements should be fixed by this.
PR Checklist
Please check if your PR fulfills the following requirements:
[ ] Docs have been added/updated which fit documentation template (for bug fixes / features)Screenshots Compare Test Runresults.