-
Notifications
You must be signed in to change notification settings - Fork 802
Open
Labels
Description
Describe the bug
When a StackPanel is placed inside a ScrollView or ScrollViewer, changing its visual properties (e.g., setting MaxWidth) can cause a slight blurriness issue when the window is maximized. This issue is subtle and difficult to notice but affects text and UI clarity.
Steps to reproduce the bug
Refer to the discussion and fix in this PR: microsoft/WinUI-Gallery#1801
Expected behavior
The contents inside the StackPanel should remain sharp and clear, regardless of window resizing or maximizing.
Screenshots
The issue is hard to capture in screenshots, as it requires deep observation while resizing or maximizing the window.
NuGet package version
WinUI 3 - Windows App SDK 1.6.5: 1.6.250205002
Windows version
Windows 11 (23H2): Build 22631
Additional context
- This issue does not occur when the visual properties of
StackPanel, such asMaxWidth, are not set. - To work around this issue, I wrapped the
StackPanelinside aBorder, which resolved the blurriness without requiring significant changes to the layout.
Reactions are currently unavailable