diff --git a/src/ST.Client.Desktop.Avalonia/Application/UI/Views/MainView.axaml.cs b/src/ST.Client.Desktop.Avalonia/Application/UI/Views/MainView.axaml.cs index 2424a8ee4..6c4ee8101 100644 --- a/src/ST.Client.Desktop.Avalonia/Application/UI/Views/MainView.axaml.cs +++ b/src/ST.Client.Desktop.Avalonia/Application/UI/Views/MainView.axaml.cs @@ -23,7 +23,7 @@ namespace System.Application.UI.Views if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) sp.Margin = new Avalonia.Thickness(0, 0, 140, 0); else - sp.Margin = new Avalonia.Thickness(0, 12, 10, 0); + sp.Margin = new Avalonia.Thickness(0, 6, 10, 0); } } diff --git a/src/ST.Client.Desktop.Windows/UI/JumpLists.cs b/src/ST.Client.Desktop.Windows/UI/JumpLists.cs index d49ff31e9..dd1ce0a6a 100644 --- a/src/ST.Client.Desktop.Windows/UI/JumpLists.cs +++ b/src/ST.Client.Desktop.Windows/UI/JumpLists.cs @@ -17,7 +17,7 @@ namespace System.Application.UI var jumpList1 = new JumpList { ShowRecentCategory = true, - ShowFrequentCategory = true, + ShowFrequentCategory = false, }; //jumpList1.JumpItemsRejected += JumpList1_JumpItemsRejected; //jumpList1.JumpItemsRemovedByUser += JumpList1_JumpItemsRemovedByUser; @@ -39,6 +39,12 @@ namespace System.Application.UI // WorkingDirectory = @"C:\Users\Public\Documents", // Arguments = "readme.txt", //}); + //JumpList jumpList1 = JumpList.GetJumpList(AvaloniaApplication.Current); + //if (jumpList1 != null) + //{ + // jumpList1.JumpItems.Clear(); + // jumpList1.Apply(); + //} JumpList.SetJumpList(AvaloniaApplication.Current, jumpList1); }