-
Notifications
You must be signed in to change notification settings - Fork 375
Open
Labels
Description
Describe the bug
When using TitleBar Control, snap window to/from screen top, the window size changes,but the layout content in the window does not change, and no window resize message received from the window
Steps to reproduce the bug
- Using conotrol in Window layout
<Grid>
<TitleBar x:Name="titleBar" Title="WinUI EX Test App" IsPaneToggleButtonVisible="True" IsBackButtonVisible="True"
IsBackButtonEnabled="True" >
<TitleBar.IconSource>
<ImageIconSource ImageSource="ms-appx:///Images/logo.png" />
</TitleBar.IconSource>
<TitleBar.RightHeader>
<HyperlinkButton Content="WinUIEx on GitHub" NavigateUri="https://github.com/dotMorten/WinUIEx" />
</TitleBar.RightHeader>
</TitleBar>
</Grid>
- in window constuctor set:
ExtendsContentIntoTitleBar = true;
SetTitleBar(titleBar);
- drag the app window to/from the top edge of the screen
Expected behavior
the window size changes,but the layout content in the window does not change
Screenshots
snapWIN.mp4
NuGet package version
Windows App SDK 1.7.3: 1.7.250606001
Packaging type
Unpackaged
Windows version
Windows 11 version 24H2 LTSC (26100, June Update)
IDE
Visual Studio 2022
Additional context
No response