Change the Command Palette's Settings window title bar to compact

This commit is contained in:
Jiří Polášek
2026-02-22 16:20:14 +01:00
parent f5625806a4
commit a97d753ab5
2 changed files with 0 additions and 8 deletions

View File

@@ -34,13 +34,6 @@
<TitleBar.IconSource>
<ImageIconSource ImageSource="ms-appx:///Assets/icon.svg" />
</TitleBar.IconSource>
<TitleBar.Content>
<!--
Workaround: Provide empty Content to ensure the title bar is tall.
If Content is not set the preferred title bar height is not respected.
-->
<Border />
</TitleBar.Content>
</TitleBar>
<NavigationView
x:Name="NavView"

View File

@@ -44,7 +44,6 @@ public sealed partial class SettingsWindow : WindowEx,
this.SetIcon();
var title = RS_.GetString("SettingsWindowTitle");
this.AppWindow.Title = title;
this.AppWindow.TitleBar.PreferredHeightOption = TitleBarHeightOption.Tall;
this.AppTitleBar.Title = title;
PositionCentered();