From 59f07a6cf32f2f77ebb2612c3a84573ea0b30616 Mon Sep 17 00:00:00 2001 From: ema Date: Tue, 23 Dec 2025 14:24:05 +0800 Subject: [PATCH] Replace ListView with DataGrid in CertViewerControl Swapped the ListView for a DataGrid to display certificate properties. The DataGrid is set to read-only, disables row headers, and uses explicit columns for improved presentation and usability. --- .../CertViewerControl.xaml | 24 +++++++++---------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/QuickLook.Plugin/QuickLook.Plugin.CertViewer/CertViewerControl.xaml b/QuickLook.Plugin/QuickLook.Plugin.CertViewer/CertViewerControl.xaml index ce44249..57a0e0b 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.CertViewer/CertViewerControl.xaml +++ b/QuickLook.Plugin/QuickLook.Plugin.CertViewer/CertViewerControl.xaml @@ -15,20 +15,18 @@ - - - - - - - - + Margin="8" + AutoGenerateColumns="False" + IsReadOnly="True" + HeadersVisibility="Column" + RowHeaderWidth="0"> + + + + +