From 00640a1443023d2b53fde4ec203864714edf947d Mon Sep 17 00:00:00 2001 From: "Aaron (Qilong)" <173288704@qq.com> Date: Mon, 2 Dec 2019 14:45:03 -0500 Subject: [PATCH] Replace package filter icon with text (#10181) (#10185) * Replace Filter By icon with text * remove fa reference * Update Button Separation --- src/DynamoCoreWpf/Properties/Resources.Designer.cs | 9 +++++++++ src/DynamoCoreWpf/Properties/Resources.en-US.resx | 3 +++ src/DynamoCoreWpf/Properties/Resources.resx | 3 +++ .../Views/PackageManager/PackageManagerSearchView.xaml | 10 +++++----- 4 files changed, 20 insertions(+), 5 deletions(-) diff --git a/src/DynamoCoreWpf/Properties/Resources.Designer.cs b/src/DynamoCoreWpf/Properties/Resources.Designer.cs index 0287d30223d..68946ac6d81 100644 --- a/src/DynamoCoreWpf/Properties/Resources.Designer.cs +++ b/src/DynamoCoreWpf/Properties/Resources.Designer.cs @@ -4034,6 +4034,15 @@ public static string PackageSearchViewDescription { } } + /// + /// Looks up a localized string similar to Filter by. + /// + public static string PackageSearchViewFilterByButton { + get { + return ResourceManager.GetString("PackageSearchViewFilterByButton", resourceCulture); + } + } + /// /// Looks up a localized string similar to ⇓ Install. /// diff --git a/src/DynamoCoreWpf/Properties/Resources.en-US.resx b/src/DynamoCoreWpf/Properties/Resources.en-US.resx index e0e3f75b739..1e6ff860bc6 100644 --- a/src/DynamoCoreWpf/Properties/Resources.en-US.resx +++ b/src/DynamoCoreWpf/Properties/Resources.en-US.resx @@ -2231,4 +2231,7 @@ Uninstall the following packages: {0}? An indication of what applications outside of Dynamo your package depends on, such as Revit, Civil 3D or Photoshop. Users of your package will need to install these applications to fully utilize your package. + + Filter by + \ No newline at end of file diff --git a/src/DynamoCoreWpf/Properties/Resources.resx b/src/DynamoCoreWpf/Properties/Resources.resx index c1b2e137b62..2c258312fe6 100644 --- a/src/DynamoCoreWpf/Properties/Resources.resx +++ b/src/DynamoCoreWpf/Properties/Resources.resx @@ -2234,4 +2234,7 @@ Uninstall the following packages: {0}? An indication of what applications outside of Dynamo your package depends on, such as Revit, Civil 3D or Photoshop. Users of your package will need to install these applications to fully utilize your package. + + Filter by + \ No newline at end of file diff --git a/src/DynamoCoreWpf/Views/PackageManager/PackageManagerSearchView.xaml b/src/DynamoCoreWpf/Views/PackageManager/PackageManagerSearchView.xaml index 3eeaedcffd0..02c9da5304c 100644 --- a/src/DynamoCoreWpf/Views/PackageManager/PackageManagerSearchView.xaml +++ b/src/DynamoCoreWpf/Views/PackageManager/PackageManagerSearchView.xaml @@ -4,7 +4,6 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:ui="clr-namespace:Dynamo.UI" - xmlns:fa="http://schemas.fontawesome.io/icons/" xmlns:p="clr-namespace:Dynamo.Wpf.Properties" xmlns:controls="clr-namespace:Dynamo.Controls" xmlns:viewModels="clr-namespace:Dynamo.PackageManager.ViewModels" @@ -140,7 +139,7 @@ Grid.Column="0" FontSize ="13" Padding="20,10,5,10" Margin ="0" Background="Transparent" Foreground="#666" IsHitTestVisible="False"> -