mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-24 04:00:02 +01:00
Change the Command Palette's Settings window title bar to compact
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user