From 6bbfb15f458cb1aaeef61d924b8f7cf81185a1c8 Mon Sep 17 00:00:00 2001 From: Yusyuriv Date: Mon, 29 Apr 2024 14:04:48 +0600 Subject: [PATCH] Use `Card` control in About pane of settings window, fix links in this pane not working --- .../SettingPages/Views/SettingsPaneAbout.xaml | 258 ++++++------------ .../Views/SettingsPaneAbout.xaml.cs | 23 +- 2 files changed, 84 insertions(+), 197 deletions(-) diff --git a/Flow.Launcher/SettingPages/Views/SettingsPaneAbout.xaml b/Flow.Launcher/SettingPages/Views/SettingsPaneAbout.xaml index 9386c9625..f76dc1740 100644 --- a/Flow.Launcher/SettingPages/Views/SettingsPaneAbout.xaml +++ b/Flow.Launcher/SettingPages/Views/SettingsPaneAbout.xaml @@ -3,9 +3,9 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:local="clr-namespace:Flow.Launcher.SettingPages.Views" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="http://schemas.modernwpf.com/2019" + xmlns:cc="clr-namespace:Flow.Launcher.Resources.Controls" Title="About" d:DesignHeight="450" d:DesignWidth="800" @@ -22,12 +22,11 @@ Margin="0,0,0,0" Background="{DynamicResource Color01B}" FontSize="14" - ScrollViewer.CanContentScroll="True" + CanContentScroll="True" VirtualizingStackPanel.IsVirtualizing="True" VirtualizingStackPanel.ScrollUnit="Pixel"> - - - - - - - - + + + + + - - -  - - - + + + + + + + - - - - - - - - + + + + + - -  - - - - - - - - - - - - - - - - - - - - - -  - - - - - - - - - - - - - - - - - - - - - - -  - - - - - - - - - - - - + + + + + + + + + + + + - -  + + + + - - + + - - - - - - - - - -  - - - + + + + + + + + + + + + +