Skip to content

Commit cf16054

Browse files
committed
improvements to titlebar button size
1 parent 1405998 commit cf16054

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/UniGetUI/MainWindow.xaml.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,9 @@ public async Task<ContentDialogResult> ShowDialogAsync(ContentDialog dialog, boo
789789
}
790790

791791
dialog.RequestedTheme = MainContentGrid.RequestedTheme;
792+
AppWindow.TitleBar.PreferredHeightOption = TitleBarHeightOption.Standard;
792793
ContentDialogResult result = await dialog.ShowAsync();
794+
AppWindow.TitleBar.PreferredHeightOption = TitleBarHeightOption.Tall;
793795
DialogQueue.Remove(dialog);
794796
return result;
795797
}

0 commit comments

Comments
 (0)