Repository navigation
Flyout - set correct size in Full placement mode - #2082
Conversation
| Matrix = new Matrix( | ||
| m11: 1, | ||
| m12: 0, | ||
| m21: 0, | ||
| m22: 1, | ||
| offsetX: 0, //TODO | ||
| offsetY: 0 //TODO | ||
| ) |
There was a problem hiding this comment.
TODO are not just for Offset<X|Y> ;)
There was a problem hiding this comment.
Fair enough, but they're TODO in that case for all platforms, not just unit tests :p
There was a problem hiding this comment.
No, the TransformToVisual is implemented now on iOS, Android and WASM 🤔
There was a problem hiding this comment.
Ok, I guess I can't see where they're setting the non-translate matrix components then.
https://github.com/unoplatform/uno/blob/master/src/Uno.UI/UI/Xaml/UIElement.Android.cs#L71
https://github.com/unoplatform/uno/blob/master/src/Uno.UI/UI/Xaml/UIElement.iOS.cs#L142
https://github.com/unoplatform/uno/blob/master/src/Uno.UI/UI/Xaml/UIElement.wasm.cs#L618
There was a problem hiding this comment.
Hummm right ... I thought the TransformBounds, but it's on the GeneralTransform (https://github.com/unoplatform/uno/blob/master/src/Uno.UI/UI/Xaml/Media/GeneralTransform.cs#L31) ... so it means that my next bug will be harder to fix 😥
| } | ||
| #endregion | ||
|
|
||
| #region HorizontalAlignment Dependency Property |
There was a problem hiding this comment.
Good catch!
|
/azp run |
Set correct default values for Width, Height etc in DP rather than setting them explicitly from ctor. This allows styles to overwrite these values.
This was causing content to be measured with availableSize as NaN, in turn causing an exception to be thrown if that value was returned.
d3a388a to
854d593
Compare
WinUI declares Thickness.Left/Top/Right/Bottom and CornerRadius.TopLeft/ TopRight/BottomRight/BottomLeft as get+set properties over private backing fields, and GridLength.Value/GridUnitType as get-only properties. Uno projected all ten as public fields, and ShouldSkipSymbol muted the mismatch. They are now properties and the mutes are gone. Duration.TimeSpan needed nothing — it became a get-only property with BC64 and its clause was already masking nothing. GridLength's second constructor parameter is renamed to `type`, which WinUI's signature uses and which the blanket GridLength member-mute had been hiding. The only in-repo writers were the two TimePicker layout paths, which built a GridLength by mutating a `default` instance; they now construct it. Regeneration is byte-identical and Uno.UI builds clean. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_016ifDe4QKvwkcq5tp4tmxX7
WinUI declares Thickness.Left/Top/Right/Bottom and CornerRadius.TopLeft/ TopRight/BottomRight/BottomLeft as get+set properties over private backing fields, and GridLength.Value/GridUnitType as get-only properties. Uno projected all ten as public fields, and ShouldSkipSymbol muted the mismatch. They are now properties and the mutes are gone. Duration.TimeSpan needed nothing — it became a get-only property with BC64 and its clause was already masking nothing. GridLength's second constructor parameter is renamed to `type`, which WinUI's signature uses and which the blanket GridLength member-mute had been hiding. The only in-repo writers were the two TimePicker layout paths, which built a GridLength by mutating a `default` instance; they now construct it. Regeneration is byte-identical and Uno.UI builds clean. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_016ifDe4QKvwkcq5tp4tmxX7
WinUI declares Thickness.Left/Top/Right/Bottom and CornerRadius.TopLeft/ TopRight/BottomRight/BottomLeft as get+set properties over private backing fields, and GridLength.Value/GridUnitType as get-only properties. Uno projected all ten as public fields, and ShouldSkipSymbol muted the mismatch. They are now properties and the mutes are gone. Duration.TimeSpan needed nothing — it became a get-only property with BC64 and its clause was already masking nothing. GridLength's second constructor parameter is renamed to `type`, which WinUI's signature uses and which the blanket GridLength member-mute had been hiding. The only in-repo writers were the two TimePicker layout paths, which built a GridLength by mutating a `default` instance; they now construct it. Regeneration is byte-identical and Uno.UI builds clean. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_016ifDe4QKvwkcq5tp4tmxX7
WinUI declares Thickness.Left/Top/Right/Bottom and CornerRadius.TopLeft/ TopRight/BottomRight/BottomLeft as get+set properties over private backing fields, and GridLength.Value/GridUnitType as get-only properties. Uno projected all ten as public fields, and ShouldSkipSymbol muted the mismatch. They are now properties and the mutes are gone. Duration.TimeSpan needed nothing — it became a get-only property with BC64 and its clause was already masking nothing. GridLength's second constructor parameter is renamed to `type`, which WinUI's signature uses and which the blanket GridLength member-mute had been hiding. The only in-repo writers were the two TimePicker layout paths, which built a GridLength by mutating a `default` instance; they now construct it. Regeneration is byte-identical and Uno.UI builds clean. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_016ifDe4QKvwkcq5tp4tmxX7
WinUI declares Thickness.Left/Top/Right/Bottom and CornerRadius.TopLeft/ TopRight/BottomRight/BottomLeft as get+set properties over private backing fields, and GridLength.Value/GridUnitType as get-only properties. Uno projected all ten as public fields, and ShouldSkipSymbol muted the mismatch. They are now properties and the mutes are gone. Duration.TimeSpan needed nothing — it became a get-only property with BC64 and its clause was already masking nothing. GridLength's second constructor parameter is renamed to `type`, which WinUI's signature uses and which the blanket GridLength member-mute had been hiding. The only in-repo writers were the two TimePicker layout paths, which built a GridLength by mutating a `default` instance; they now construct it. Regeneration is byte-identical and Uno.UI builds clean. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_016ifDe4QKvwkcq5tp4tmxX7
The Window event retypes and the WinRT struct/member projection fixes (#2082, #2089) are user-facing breaking changes with no entry in the 7.0 migration guide, which carries one per BC. - Public API removed: the four Window*EventHandler delegates, plus the Window.VisibilityChanged payload retype from Windows.UI.Core's VisibilityChangedEventArgs to WinUI's WindowVisibilityChangedEventArgs. - New "WinRT projection alignment" section: Thickness/CornerRadius fields to properties, GridLength read-only members and its renamed ctor parameter, DataTemplate.LoadContent returning DependencyObject, and GuidHelper.Equals taking `in`. - Checklist item for the VisibilityChanged handler retype. markdownlint and cspell 8.3.2 pass on the file. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_014YcPxHioM9n92waPX8i1LR
WinUI declares Thickness.Left/Top/Right/Bottom and CornerRadius.TopLeft/ TopRight/BottomRight/BottomLeft as get+set properties over private backing fields, and GridLength.Value/GridUnitType as get-only properties. Uno projected all ten as public fields, and ShouldSkipSymbol muted the mismatch. They are now properties and the mutes are gone. Duration.TimeSpan needed nothing — it became a get-only property with BC64 and its clause was already masking nothing. GridLength's second constructor parameter is renamed to `type`, which WinUI's signature uses and which the blanket GridLength member-mute had been hiding. The only in-repo writers were the two TimePicker layout paths, which built a GridLength by mutating a `default` instance; they now construct it. Regeneration is byte-identical and Uno.UI builds clean. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_016ifDe4QKvwkcq5tp4tmxX7
The Window event retypes and the WinRT struct/member projection fixes (#2082, #2089) are user-facing breaking changes with no entry in the 7.0 migration guide, which carries one per BC. - Public API removed: the four Window*EventHandler delegates, plus the Window.VisibilityChanged payload retype from Windows.UI.Core's VisibilityChangedEventArgs to WinUI's WindowVisibilityChangedEventArgs. - New "WinRT projection alignment" section: Thickness/CornerRadius fields to properties, GridLength read-only members and its renamed ctor parameter, DataTemplate.LoadContent returning DependencyObject, and GuidHelper.Equals taking `in`. - Checklist item for the VisibilityChanged handler retype. markdownlint and cspell 8.3.2 pass on the file. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_014YcPxHioM9n92waPX8i1LR
WinUI declares Thickness.Left/Top/Right/Bottom and CornerRadius.TopLeft/ TopRight/BottomRight/BottomLeft as get+set properties over private backing fields, and GridLength.Value/GridUnitType as get-only properties. Uno projected all ten as public fields, and ShouldSkipSymbol muted the mismatch. They are now properties and the mutes are gone. Duration.TimeSpan needed nothing — it became a get-only property with BC64 and its clause was already masking nothing. GridLength's second constructor parameter is renamed to `type`, which WinUI's signature uses and which the blanket GridLength member-mute had been hiding. The only in-repo writers were the two TimePicker layout paths, which built a GridLength by mutating a `default` instance; they now construct it. Regeneration is byte-identical and Uno.UI builds clean. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_016ifDe4QKvwkcq5tp4tmxX7
The Window event retypes and the WinRT struct/member projection fixes (#2082, #2089) are user-facing breaking changes with no entry in the 7.0 migration guide, which carries one per BC. - Public API removed: the four Window*EventHandler delegates, plus the Window.VisibilityChanged payload retype from Windows.UI.Core's VisibilityChangedEventArgs to WinUI's WindowVisibilityChangedEventArgs. - New "WinRT projection alignment" section: Thickness/CornerRadius fields to properties, GridLength read-only members and its renamed ctor parameter, DataTemplate.LoadContent returning DependencyObject, and GuidHelper.Equals taking `in`. - Checklist item for the VisibilityChanged handler retype. markdownlint and cspell 8.3.2 pass on the file. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_014YcPxHioM9n92waPX8i1LR
GitHub Issue (If applicable): fixes #2009
PR Type
What kind of change does this PR introduce?
What is the current behavior?
What is the new behavior?
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.Other information
Internal Issue (If applicable):