diff --git a/QuickLook.Plugin/QuickLook.Plugin.AppViewer/ApkInfoPanel.xaml b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/ApkInfoPanel.xaml index 578b34b..c56c8c8 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.AppViewer/ApkInfoPanel.xaml +++ b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/ApkInfoPanel.xaml @@ -7,6 +7,13 @@ FontSize="14" UseLayoutRounding="True" mc:Ignorable="d"> + + + + + + + @@ -219,8 +226,11 @@ Grid.Row="11" Grid.Column="1" Grid.ColumnSpan="2" - Margin="0,0,16,16" - BorderThickness="0.4" + Margin="3,3,16,16" + Padding="3" + Background="{DynamicResource CardBackgroundFillColorDefaultBrush}" + BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}" + Foreground="{DynamicResource WindowTextForegroundAlternative}" Header="Capabilities"> diff --git a/QuickLook.Plugin/QuickLook.Plugin.AppViewer/AppxInfoPanel.xaml b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/AppxInfoPanel.xaml index da8a405..613ff4e 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.AppViewer/AppxInfoPanel.xaml +++ b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/AppxInfoPanel.xaml @@ -7,6 +7,13 @@ FontSize="14" UseLayoutRounding="True" mc:Ignorable="d"> + + + + + + + @@ -167,8 +174,11 @@ Grid.Row="8" Grid.Column="1" Grid.ColumnSpan="2" - Margin="0,0,16,16" - BorderThickness="0.4" + Margin="3,3,16,16" + Padding="3" + Background="{DynamicResource CardBackgroundFillColorDefaultBrush}" + BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}" + Foreground="{DynamicResource WindowTextForegroundAlternative}" Header="Capabilities"> diff --git a/QuickLook.Plugin/QuickLook.Plugin.AppViewer/GroupBox.xaml b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/GroupBox.xaml new file mode 100644 index 0000000..8e6133e --- /dev/null +++ b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/GroupBox.xaml @@ -0,0 +1,38 @@ + + + + + diff --git a/QuickLook.Plugin/QuickLook.Plugin.AppViewer/HapInfoPanel.xaml b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/HapInfoPanel.xaml index c2e1742..956abb1 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.AppViewer/HapInfoPanel.xaml +++ b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/HapInfoPanel.xaml @@ -7,6 +7,13 @@ FontSize="14" UseLayoutRounding="True" mc:Ignorable="d"> + + + + + + + @@ -285,8 +292,11 @@ Grid.Row="13" Grid.Column="1" Grid.ColumnSpan="2" - Margin="0,0,16,16" - BorderThickness="0.4" + Margin="3,3,16,16" + Padding="3" + Background="{DynamicResource CardBackgroundFillColorDefaultBrush}" + BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}" + Foreground="{DynamicResource WindowTextForegroundAlternative}" Header="Capabilities"> diff --git a/QuickLook.Plugin/QuickLook.Plugin.AppViewer/IpaInfoPanel.xaml b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/IpaInfoPanel.xaml index 1de5981..be7b4e0 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.AppViewer/IpaInfoPanel.xaml +++ b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/IpaInfoPanel.xaml @@ -7,6 +7,13 @@ FontSize="14" UseLayoutRounding="True" mc:Ignorable="d"> + + + + + + + @@ -236,8 +243,11 @@ Grid.Row="12" Grid.Column="1" Grid.ColumnSpan="2" - Margin="0,0,16,16" - BorderThickness="0.4" + Margin="3,3,16,16" + Padding="3" + Background="{DynamicResource CardBackgroundFillColorDefaultBrush}" + BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}" + Foreground="{DynamicResource WindowTextForegroundAlternative}" Header="Capabilities"> diff --git a/QuickLook.Plugin/QuickLook.Plugin.AppViewer/IpaInfoPanel.xaml.cs b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/IpaInfoPanel.xaml.cs index 8b14ed6..7150755 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.AppViewer/IpaInfoPanel.xaml.cs +++ b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/IpaInfoPanel.xaml.cs @@ -45,6 +45,7 @@ public partial class IpaInfoPanel : UserControl, IAppInfoPanel versionNameTitle.Text = TranslationHelper.Get("APP_VERSION_NAME", translationFile); versionCodeTitle.Text = TranslationHelper.Get("APP_VERSION_CODE", translationFile); packageNameTitle.Text = TranslationHelper.Get("PACKAGE_NAME", translationFile); + deviceFamilyTitle.Text = TranslationHelper.Get("DEVICE_FAMILY", translationFile); minimumOSVersionTitle.Text = TranslationHelper.Get("APP_MIN_OS_VERSION", translationFile); platformVersionTitle.Text = TranslationHelper.Get("APP_TARGET_OS_VERSION", translationFile); totalSizeTitle.Text = TranslationHelper.Get("TOTAL_SIZE", translationFile); diff --git a/QuickLook.Plugin/QuickLook.Plugin.AppViewer/Plugin.cs b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/Plugin.cs index a637c5c..f1ffa90 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.AppViewer/Plugin.cs +++ b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/Plugin.cs @@ -69,12 +69,12 @@ public class Plugin : IViewer { context.PreferredSize = Path.GetExtension(ConfirmPath(path)).ToLower() switch { - ".apk" => new Size { Width = 560, Height = 500 }, - ".ipa" => new Size { Width = 560, Height = 500 }, + ".apk" => new Size { Width = 560, Height = 505 }, + ".ipa" => new Size { Width = 560, Height = 510 }, ".hap" => new Size { Width = 560, Height = 500 }, ".msi" => new Size { Width = 520, Height = 230 }, ".msix" or ".msixbundle" or ".appx" or ".appxbundle" => new Size { Width = 560, Height = 328 }, - ".wgt" or ".wgtu" => new Size { Width = 600, Height = 328 }, + ".wgt" or ".wgtu" => new Size { Width = 600, Height = 345 }, _ => throw new NotSupportedException("Extension is not supported."), }; } diff --git a/QuickLook.Plugin/QuickLook.Plugin.AppViewer/WgtInfoPanel.xaml b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/WgtInfoPanel.xaml index 86bbd41..36a2982 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.AppViewer/WgtInfoPanel.xaml +++ b/QuickLook.Plugin/QuickLook.Plugin.AppViewer/WgtInfoPanel.xaml @@ -7,6 +7,13 @@ FontSize="14" UseLayoutRounding="True" mc:Ignorable="d"> + + + + + + + @@ -145,8 +152,11 @@ Grid.Row="8" Grid.Column="1" Grid.ColumnSpan="2" - Margin="0,0,16,16" - BorderThickness="0.4" + Margin="3,3,16,16" + Padding="3" + Background="{DynamicResource CardBackgroundFillColorDefaultBrush}" + BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}" + Foreground="{DynamicResource WindowTextForegroundAlternative}" Header="Capabilities">