-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Adopt DensityValue in Grid to Enable Precise Pixel-Aware Layout #30020
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
Closed
Closed
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
d7a1a01
Initial plan for issue
Copilot 4f1f8ad
Initial analysis and plan for DensityValue implementation
Copilot af56ccc
Add DensityValue struct and enhance GridLayoutManager with density-aw…
Copilot dff88d4
Add comprehensive tests for DensityValue pixel distribution scenarios
Copilot 7d5cd33
Revert Templates/src JSON files and enhance copilot instructions
Copilot 7ed62a3
Create IWindow.GetDisplayDensity extension method with platform-speci…
Copilot 76af21b
Remove GetDisplayDensity extension method and use window.RequestDispl…
Copilot 94028e7
Remove all changes to WindowExtensions.cs as requested
Copilot 1c5f8de
Add GridLayoutManager tests for DensityValue scenarios from PR descri…
Copilot 4f5dc0c
Copy changes from PR #28259 to fix label text cropping in Border cont…
Copilot a03b965
Fix compilation error by removing unused variable
Copilot 8cd3a4f
Remove Tizen ViewExtensions changes and add conditional compilation f…
Copilot 7d4f1ef
Address code review feedback: remove TIZEN ifdefs, add error logging,…
Copilot 1aa7308
Add ArrangesContentWithoutOverlapAndWithProperSize test replicating d…
Copilot db9afd5
Revert Templates JSON files that should not be committed
Copilot 0148325
Update tests to validate RawPx values instead of Dp values
Copilot ad04ae2
Implement IViewWithWindow interface and density-aware test infrastruc…
Copilot 2e6d67a
Update tests to use tolerance-based comparisons while maintaining den…
Copilot c32c3e2
Fix density-aware tests to use tolerance-based comparisons and focus …
Copilot 04ebf82
Implement IViewWithWindow interface for density-aware testing and upd…
Copilot 92d7d78
Add debugging test to investigate density-aware distribution failure
Copilot fa3375f
Refactor GridLayoutManager to use pixel-first DensityValue approach
Copilot ba194c2
Complete pixel-first DensityValue refactor with runtime compatibility
Copilot 09d8a23
Update Cell to use DensityValue for pixel-precise measurements and fi…
Copilot b42c29c
Add debugging to trace precision loss between star resolution and cel…
Copilot 9cd2dc9
Convert MinimumSize property in Definition class to use DensityValue …
Copilot b6f929b
Revert Templates JSON files and enhance copilot instructions for prev…
Copilot eab0cf0
Fix backward compatibility for density-aware Grid layout when density…
Copilot 638c4bf
Address review feedback: use Math.Floor, implement right-to-left pixe…
Copilot 5741ff2
- add additional logging to device tests
PureWeen 847a476
Address review feedback: add density 2.625 tests and revert Templates…
Copilot 0f7b6fc
Complete density 2.625 tests with correct pixel expectations and fix …
Copilot 8e05bf9
- fix stub
PureWeen 97ed27f
Fix ViewsInUnconstrainedStarRowsDoNotOverlapWhenArrangeHeightChanges …
Copilot 55e3236
Fix pixel distribution algorithm and address structural review feedba…
Copilot c857bc0
Remove debug output and identify core issue with density-aware star e…
Copilot 9dbe3ad
Fix failing ArrangesContentWithoutOverlapAndWithProperSize tests: use…
Copilot c02791a
Restore GridLayoutManager to original implementation with DensityValu…
Copilot 1920d71
Fix failing tests by restoring GridLayoutManager to use DensityValue …
Copilot 2a1f16c
Implement density-aware Grid star sizing for pixel-perfect layout
Copilot 59f4c0c
Integrate density-aware logic into ExpandStars method and remove Pre-…
Copilot 4415725
Remove density conditional logic from ExpandStars method
Copilot 9c694ab
Fix compilation errors and maintain backwards compatibility for densi…
Copilot 8068388
Remove conditional density logic and unify star expansion algorithm
Copilot 1517527
Fix failing tests by setting appropriate density values for pixel-per…
Copilot df05f7d
- update screen shots
PureWeen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+6 Bytes
(100%)
...stCases.Android.Tests/snapshots/android/AccessibilityTraitsSetCorrectlyNone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-563 Bytes
(100%)
...d.Tests/snapshots/android/ButtonsLayoutResolveWhenParentSizeChangesOriginal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+40 Bytes
(100%)
...TestCases.Android.Tests/snapshots/android/CarouselViewShouldRenderCorrectly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+86 Bytes
(100%)
...ases.Android.Tests/snapshots/android/CheckBox_ChangeColor_VerifyVisualState.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+46 Bytes
(100%)
...oid.Tests/snapshots/android/CheckBox_SetIsCheckedAndColor_VerifyVisualState.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+72 Bytes
(100%)
...ts/TestCases.Android.Tests/snapshots/android/CollectionViewMeasureFirstItem.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.79 KB
(99%)
...trols/tests/TestCases.Android.Tests/snapshots/android/HeaderFooterGridWorks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.8 KB
(99%)
...s/tests/TestCases.Android.Tests/snapshots/android/HeaderFooterTemplateWorks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+978 Bytes
(100%)
...ases.Android.Tests/snapshots/android/ImageButtonUITests_Aspect_State_Center.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.78 KB
(100%)
...droid.Tests/snapshots/android/ImageButtonUITests_BorderColor_WithBackground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.77 KB
(100%)
...droid.Tests/snapshots/android/ImageButtonUITests_BorderWidth_WithBackground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+462 Bytes
(100%)
src/Controls/tests/TestCases.Android.Tests/snapshots/android/Issue24414Test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+541 Bytes
(100%)
src/Controls/tests/TestCases.Android.Tests/snapshots/android/Issue24414Test_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+732 Bytes
(100%)
src/Controls/tests/TestCases.Android.Tests/snapshots/android/Issue24414Test_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+242 Bytes
(100%)
src/Controls/tests/TestCases.Android.Tests/snapshots/android/Issue24414Test_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+389 Bytes
(100%)
src/Controls/tests/TestCases.Android.Tests/snapshots/android/Issue24414Test_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+73 Bytes
(100%)
src/Controls/tests/TestCases.Android.Tests/snapshots/android/Issue24414Test_5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+5.67 KB
(120%)
...tests/TestCases.Android.Tests/snapshots/android/Issue7823TestIsClippedIssue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+63 Bytes
(100%)
...ts/TestCases.Android.Tests/snapshots/android/ItemImageSourceShouldBeVisible.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-110 Bytes
(100%)
...stCases.Android.Tests/snapshots/android/LabelUITests_FontFamily_FontAwesome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+98 Bytes
(100%)
.../TestCases.Android.Tests/snapshots/android/LabelUITests_FontFamily_Ionicons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+10.7 KB
(110%)
...pshots/android/RadioButton_Checking_Default_Configuration_VerifyVisualState.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+13.1 KB
(120%)
...pshots/android/RadioButton_Checking_Initial_Configuration_VerifyVisualState.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+13 Bytes
(100%)
...sts/snapshots/android/RadioButton_FlowDirectionAndContent_VerifyVisualState.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+8 Bytes
(100%)
...apshots/android/RadioButton_SetContentAndCharacterSpacing_VerifyVisualState.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+10 Bytes
(100%)
...snapshots/android/RadioButton_SetContentAndFontAttributes_VerifyVisualState.png
Oops, something went wrong.
Binary file modified
BIN
+17 Bytes
(100%)
...Tests/snapshots/android/RadioButton_SetContentAndFontSize_VerifyVisualState.png
Oops, something went wrong.
Binary file modified
BIN
+5 Bytes
(100%)
...ests/snapshots/android/RadioButton_SetContentAndTextColor_VerifyVisualState.png
Oops, something went wrong.
Binary file modified
BIN
+10 Bytes
(100%)
...apshots/android/RadioButton_SetFontAttributesAndTextColor_VerifyVisualState.png
Oops, something went wrong.
Binary file modified
BIN
+11 Bytes
(100%)
...pshots/android/RadioButton_SetFontFamilyAndFontAttributes_VerifyVisualState.png
Oops, something went wrong.
Binary file modified
BIN
+6 Bytes
(100%)
...ts/snapshots/android/RadioButton_SetFontFamilyAndFontSize_VerifyVisualState.png
Oops, something went wrong.
Binary file modified
BIN
+2 Bytes
(100%)
...napshots/android/RadioButton_SetFontSizeAndFontAttributes_VerifyVisualState.png
Oops, something went wrong.
Binary file modified
BIN
-210 Bytes
(99%)
...Controls/tests/TestCases.Android.Tests/snapshots/android/ShadowShouldUpdate.png
Oops, something went wrong.
Binary file added
BIN
+13.3 KB
...d.Tests/snapshots/android/ShouldDisplayLabelWithoutBeingCroppedInsideBorder.png
Oops, something went wrong.
Binary file modified
BIN
+10 Bytes
(100%)
...Android.Tests/snapshots/android/TestDynamicItemTemplateChangeInCarouselView.png
Oops, something went wrong.
Binary file modified
BIN
+3.04 KB
(110%)
...TestCases.Android.Tests/snapshots/android/ToolbarItemFontColorDynamicUpdate.png
Oops, something went wrong.
Binary file modified
BIN
+2.03 KB
(110%)
...sts/TestCases.Android.Tests/snapshots/android/ToolbarTextColorOnInteraction.png
Oops, something went wrong.
Binary file modified
BIN
+57 Bytes
(100%)
...s/snapshots/android/VerifyModelItemsGroupedListWhenMultipleModePreSelection.png
Oops, something went wrong.
Binary file modified
BIN
+10 Bytes
(100%)
...sts/snapshots/android/VerifyModelItemsGroupedListWhenSingleModePreSelection.png
Oops, something went wrong.
Binary file modified
BIN
+104 Bytes
(100%)
...ts/android/VerifyModelItemsObservableCollectionWhenMultipleModePreSelection.png
Oops, something went wrong.
Binary file modified
BIN
+44 Bytes
(100%)
...hots/android/VerifyModelItemsObservableCollectionWhenSingleModePreSelection.png
Oops, something went wrong.
Binary file modified
BIN
-9 Bytes
(100%)
...VerifySelectionModeMultipleWhenProgrammaticSelectionWorksWithHorizontalList.png
Oops, something went wrong.
Binary file modified
BIN
+6 Bytes
(100%)
...d/VerifySelectionModeMultipleWhenProgrammaticSelectionWorksWithVerticalList.png
Oops, something went wrong.
Binary file modified
BIN
+8 Bytes
(100%)
...VerifySelectionModeSingleWhenProgrammaticSelectionWhithItemsSourceGroupList.png
Oops, something went wrong.
Binary file modified
BIN
-7 Bytes
(100%)
...d/VerifySelectionModeSingleWhenProgrammaticSelectionWorksWithHorizontalList.png
Oops, something went wrong.
Binary file modified
BIN
+4 Bytes
(100%)
...oid/VerifySelectionModeSingleWhenProgrammaticSelectionWorksWithVerticalList.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
.../snapshots/android/VerifyStringItemsGroupedListWhenMultipleModePreSelection.png
Oops, something went wrong.
Binary file modified
BIN
-16 Bytes
(100%)
...s/android/VerifyStringItemsObservableCollectionWhenMultipleModePreSelection.png
Oops, something went wrong.
Binary file modified
BIN
+1 Byte
(100%)
...ots/android/VerifyStringItemsObservableCollectionWhenSingleModePreSelection.png
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| namespace Maui.Controls.Sample.Issues; | ||
|
|
||
| [Issue(IssueTracker.Github, 28117, "Label text is cropped inside the border control with a specific padding value on certain Android devices", PlatformAffected.Android)] | ||
| public class Issue28117 : ContentPage | ||
| { | ||
| public Issue28117() | ||
| { | ||
| Content = new VerticalStackLayout | ||
| { | ||
| WidthRequest = 350, | ||
| Children = | ||
| { | ||
| new Border() | ||
| { | ||
| Padding = new Thickness(70.89827027958738, 0, 0, 0), | ||
| Margin = new Thickness(10), | ||
| StrokeThickness = 1, | ||
| Stroke = Colors.Black, | ||
| Content = | ||
| new Label | ||
| { | ||
| AutomationId = "Label", | ||
| FontFamily = "OpenSansRegular", | ||
| FontSize = 16, | ||
| Text = "At any time, but not later than one month before the expiration date" | ||
| } | ||
| }, | ||
| } | ||
| }; | ||
| } | ||
| } |
Binary file modified
BIN
-6.38 KB
(90%)
src/Controls/tests/TestCases.Mac.Tests/snapshots/mac/Issue24414Test.png
Oops, something went wrong.
Binary file modified
BIN
-3.52 KB
(94%)
src/Controls/tests/TestCases.Mac.Tests/snapshots/mac/Issue24414Test_1.png
Oops, something went wrong.
Binary file modified
BIN
-2.42 KB
(96%)
src/Controls/tests/TestCases.Mac.Tests/snapshots/mac/Issue24414Test_2.png
Oops, something went wrong.
Binary file modified
BIN
-2.55 KB
(95%)
src/Controls/tests/TestCases.Mac.Tests/snapshots/mac/Issue24414Test_3.png
Oops, something went wrong.
Binary file modified
BIN
-2.74 KB
(95%)
src/Controls/tests/TestCases.Mac.Tests/snapshots/mac/Issue24414Test_4.png
Oops, something went wrong.
Binary file modified
BIN
-5.3 KB
(86%)
src/Controls/tests/TestCases.Mac.Tests/snapshots/mac/Issue24414Test_5.png
Oops, something went wrong.
Binary file modified
BIN
-1.04 KB
(97%)
src/Controls/tests/TestCases.Mac.Tests/snapshots/mac/Issue2775Test.png
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue28117.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| #if !MACCATALYST // On Mac platform, Label does not wrap properly when a width request is set https://github.com/dotnet/maui/issues/15559 | ||
| using NUnit.Framework; | ||
| using UITest.Appium; | ||
| using UITest.Core; | ||
|
|
||
| namespace Microsoft.Maui.TestCases.Tests.Issues; | ||
|
|
||
| public class Issue28117 : _IssuesUITest | ||
| { | ||
| public Issue28117(TestDevice device) : base(device) { } | ||
|
|
||
| public override string Issue => "Label text is cropped inside the border control with a specific padding value on certain Android devices"; | ||
|
|
||
| [Test] | ||
| [Category(UITestCategories.Border)] | ||
| public void ShouldDisplayLabelWithoutBeingCroppedInsideBorder() | ||
| { | ||
| App.WaitForElement("Label"); | ||
| VerifyScreenshot(); | ||
| } | ||
| } | ||
| #endif |
Binary file modified
BIN
+610 Bytes
(100%)
...ts/windows/ButtonsLayoutResolveWhenParentSizeChangesSizeButtonsDownPortrait.png
Oops, something went wrong.
Binary file modified
BIN
+749 Bytes
(110%)
src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/Issue15330Test.png
Oops, something went wrong.
Binary file modified
BIN
-249 Bytes
(100%)
src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/Issue24414Test.png
Oops, something went wrong.
Binary file modified
BIN
-251 Bytes
(100%)
src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/Issue24414Test_1.png
Oops, something went wrong.
Binary file modified
BIN
-739 Bytes
(99%)
src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/Issue24414Test_2.png
Oops, something went wrong.
Binary file modified
BIN
-686 Bytes
(99%)
src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/Issue24414Test_3.png
Oops, something went wrong.
Binary file modified
BIN
-676 Bytes
(99%)
src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/Issue24414Test_4.png
Oops, something went wrong.
Binary file modified
BIN
+224 Bytes
(100%)
src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/Issue24414Test_5.png
Oops, something went wrong.
Binary file modified
BIN
+12.2 KB
(280%)
src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/Issue2775Test.png
Oops, something went wrong.
Binary file modified
BIN
-184 Bytes
(100%)
src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/ShadowUpdateColor1.png
Oops, something went wrong.
Binary file modified
BIN
-192 Bytes
(100%)
src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/ShadowUpdateColor2.png
Oops, something went wrong.
Binary file modified
BIN
-163 Bytes
(100%)
...nUI.Tests/snapshots/windows/Shadow_ChangeFlowDirection_RTL_VerifyScreenshot.png
Oops, something went wrong.
Binary file modified
BIN
-181 Bytes
(100%)
src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/Shadow_SetColor.png
Oops, something went wrong.
Binary file modified
BIN
-153 Bytes
(100%)
...inUI.Tests/snapshots/windows/Shadow_SetEnabledStateToFalse_VerifyScreenshot.png
Oops, something went wrong.
Binary file modified
BIN
-183 Bytes
(100%)
...sts/TestCases.WinUI.Tests/snapshots/windows/Shadow_SetOffset_PositiveValues.png
Oops, something went wrong.
Binary file modified
BIN
-216 Bytes
(99%)
...ontrols/tests/TestCases.WinUI.Tests/snapshots/windows/Shadow_SetOffset_Zero.png
Oops, something went wrong.
Binary file modified
BIN
-161 Bytes
(100%)
src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/Shadow_SetOpacity.png
Oops, something went wrong.
Binary file modified
BIN
-189 Bytes
(99%)
...ntrols/tests/TestCases.WinUI.Tests/snapshots/windows/Shadow_SetOpacity_Zero.png
Oops, something went wrong.
Binary file modified
BIN
-184 Bytes
(100%)
src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/Shadow_SetRadius.png
Oops, something went wrong.
Binary file modified
BIN
-205 Bytes
(99%)
...ontrols/tests/TestCases.WinUI.Tests/snapshots/windows/Shadow_SetRadius_Zero.png
Oops, something went wrong.
Binary file modified
BIN
-171 Bytes
(99%)
....WinUI.Tests/snapshots/windows/Shadow_SetVisibilityToFalse_VerifyScreenshot.png
Oops, something went wrong.
Binary file added
BIN
+9.6 KB
...I.Tests/snapshots/windows/ShouldDisplayLabelWithoutBeingCroppedInsideBorder.png
Oops, something went wrong.
Binary file modified
BIN
-8 Bytes
(100%)
src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/Bugzilla36802Test.png
Oops, something went wrong.
Binary file modified
BIN
-2.26 KB
(99%)
...s.iOS.Tests/snapshots/ios/ButtonsLayoutResolveWhenParentSizeChangesOriginal.png
Oops, something went wrong.
Binary file modified
BIN
-7.12 KB
(91%)
...ses.iOS.Tests/snapshots/ios/CheckBox_SetIsCheckedAndColor_VerifyVisualState.png
Oops, something went wrong.
Binary file modified
BIN
-20.6 KB
(92%)
src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/Issue24414Test.png
Oops, something went wrong.
Binary file modified
BIN
-19.9 KB
(92%)
src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/Issue24414Test_1.png
Oops, something went wrong.
Binary file modified
BIN
-24.2 KB
(91%)
src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/Issue24414Test_2.png
Oops, something went wrong.
Binary file modified
BIN
-28.9 KB
(87%)
src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/Issue24414Test_3.png
Oops, something went wrong.
Binary file modified
BIN
-31.8 KB
(87%)
src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/Issue24414Test_4.png
Oops, something went wrong.
Binary file modified
BIN
-36.8 KB
(69%)
src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/Issue24414Test_5.png
Oops, something went wrong.
Binary file modified
BIN
-11 Bytes
(100%)
src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/Issue2775Test.png
Oops, something went wrong.
Binary file modified
BIN
-7.2 KB
(93%)
.../snapshots/ios/RadioButton_Checking_Initial_Configuration_VerifyVisualState.png
Oops, something went wrong.
Binary file modified
BIN
+2.03 KB
(100%)
...ntrols/tests/TestCases.iOS.Tests/snapshots/ios/ResizeCarouselViewKeepsIndex.png
Oops, something went wrong.
Binary file modified
BIN
-1.13 KB
(97%)
src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/ShadowShouldUpdate.png
Oops, something went wrong.
Binary file added
BIN
+18.2 KB
...s.iOS.Tests/snapshots/ios/ShouldDisplayLabelWithoutBeingCroppedInsideBorder.png
Oops, something went wrong.
Binary file modified
BIN
-2.06 KB
(92%)
...ntrols/tests/TestCases.iOS.Tests/snapshots/ios/VerifyCheckBoxUnCheckedState.png
Oops, something went wrong.
Binary file modified
BIN
-11.6 KB
(95%)
...s/TestCases.iOS.Tests/snapshots/ios/VerifyCollectionViewItemsAfterScrolling.png
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| #nullable enable | ||
|
|
||
| namespace Microsoft.Maui | ||
| { | ||
| /// <summary> | ||
| /// Internal interface for views that can provide access to their window. | ||
| /// This enables dependency injection for testing scenarios. | ||
| /// </summary> | ||
| // TODO Delete this in NET10 and just add it with a default implementation to IView | ||
| internal interface IViewWithWindow | ||
| { | ||
| /// <summary> | ||
| /// Gets the window associated with this view. | ||
| /// </summary> | ||
| IWindow? Window { get; } | ||
| } | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.