Merge branch 'stefan/settings_to_winui3' of github.com:microsoft/PowerToys into stefan/settings_to_winui3
This commit is contained in:
commit
a466bb3c14
|
@ -66,8 +66,6 @@ namespace Microsoft.PowerToys.Settings.UI.WinUI3
|
|||
protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs args)
|
||||
{
|
||||
m_window = new MainWindow();
|
||||
m_window.ExtendsContentIntoTitleBar = true;
|
||||
|
||||
m_window.Title = "PowerToys Settings";
|
||||
m_window.Activate();
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@ namespace Microsoft.PowerToys.Settings.UI.WinUI3
|
|||
public MainWindow()
|
||||
{
|
||||
this.InitializeComponent();
|
||||
this.ExtendsContentIntoTitleBar = true;
|
||||
this.SetTitleBar(CustomTitleBar); // This should work according to docs, but it doesn't.... So disabling for now together with ExtendsContentIntoTitleBar
|
||||
|
||||
// send IPC Message
|
||||
|
|
Loading…
Reference in a new issue