Open
Description
Describe the bug
The titlebar control does not take the scale factor into account when calculating the widths of the columns used for padding, resulting in incorrect positioning of elements.
Steps to reproduce the bug
The code here:
microsoft-ui-xaml/src/controls/dev/TitleBar/TitleBar.cpp
Lines 400 to 411 in 689477e
needs to take the scale factor into account by dividing rightColumnInset
(value in physical pixels) by the scale factor.
Expected behavior
No response
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.7 Preview 1: 1.7.250208002-preview1
Windows version
Windows 11 (24H2): Build 26100
Additional context
No response