From ee1f1ea980df98c9d8a1af7714cc0ff5455d4583 Mon Sep 17 00:00:00 2001 From: michael kirschner Date: Fri, 4 Jun 2021 18:35:51 -0400 Subject: [PATCH 1/2] add new expanders add new tab increase tab width increase window width --- .../Properties/Resources.Designer.cs | 27 ++++++++++++ .../Properties/Resources.en-US.resx | 9 ++++ src/DynamoCoreWpf/Properties/Resources.resx | 9 ++++ .../UI/Themes/Modern/DynamoModern.xaml | 2 +- .../Views/Menu/PreferencesView.xaml | 42 +++++++++++++++++-- .../Views/Menu/PreferencesView.xaml.cs | 5 +-- 6 files changed, 87 insertions(+), 7 deletions(-) diff --git a/src/DynamoCoreWpf/Properties/Resources.Designer.cs b/src/DynamoCoreWpf/Properties/Resources.Designer.cs index 0b2483e2cc1..76b4b4ee124 100644 --- a/src/DynamoCoreWpf/Properties/Resources.Designer.cs +++ b/src/DynamoCoreWpf/Properties/Resources.Designer.cs @@ -2612,6 +2612,15 @@ public static string InfoBubbleWarning { } } + /// + /// Looks up a localized string similar to Installed Packages. + /// + public static string InstalledPackagesExpanderName { + get { + return ResourceManager.GetString("InstalledPackagesExpanderName", resourceCulture); + } + } + /// /// Looks up a localized string similar to Additional Files. /// @@ -3890,6 +3899,15 @@ public static string PackagePathAutoAddNotificationTitle { } } + /// + /// Looks up a localized string similar to Package Paths. + /// + public static string PackagePathsExpanderName { + get { + return ResourceManager.GetString("PackagePathsExpanderName", resourceCulture); + } + } + /// /// Looks up a localized string similar to Accept Changes. /// @@ -4376,6 +4394,15 @@ public static string PortViewContextMenuUserDefaultValue { } } + /// + /// Looks up a localized string similar to Package Manager. + /// + public static string PreferencesPackageManagerSettingsTab { + get { + return ResourceManager.GetString("PreferencesPackageManagerSettingsTab", resourceCulture); + } + } + /// /// Looks up a localized string similar to Default Python Engine. /// diff --git a/src/DynamoCoreWpf/Properties/Resources.en-US.resx b/src/DynamoCoreWpf/Properties/Resources.en-US.resx index f0682ff664e..aa1d75dd576 100644 --- a/src/DynamoCoreWpf/Properties/Resources.en-US.resx +++ b/src/DynamoCoreWpf/Properties/Resources.en-US.resx @@ -2399,4 +2399,13 @@ Uninstall the following packages: {0}? Resets CPython environment by reloading modules. + + Installed Packages + + + Package Paths + + + Package Manager + \ No newline at end of file diff --git a/src/DynamoCoreWpf/Properties/Resources.resx b/src/DynamoCoreWpf/Properties/Resources.resx index abfb63c1323..6208d999ed7 100644 --- a/src/DynamoCoreWpf/Properties/Resources.resx +++ b/src/DynamoCoreWpf/Properties/Resources.resx @@ -2399,4 +2399,13 @@ Uninstall the following packages: {0}? Resets CPython environment by reloading modules. + + Installed Packages + + + Package Paths + + + Package Manager + \ No newline at end of file diff --git a/src/DynamoCoreWpf/UI/Themes/Modern/DynamoModern.xaml b/src/DynamoCoreWpf/UI/Themes/Modern/DynamoModern.xaml index 322423eee87..6e4e6c71100 100644 --- a/src/DynamoCoreWpf/UI/Themes/Modern/DynamoModern.xaml +++ b/src/DynamoCoreWpf/UI/Themes/Modern/DynamoModern.xaml @@ -2501,7 +2501,7 @@ HorizontalAlignment="Stretch" VerticalAlignment="Stretch"> diff --git a/src/DynamoCoreWpf/Views/Menu/PreferencesView.xaml b/src/DynamoCoreWpf/Views/Menu/PreferencesView.xaml index 4b7473f5530..bd512c58313 100644 --- a/src/DynamoCoreWpf/Views/Menu/PreferencesView.xaml +++ b/src/DynamoCoreWpf/Views/Menu/PreferencesView.xaml @@ -18,7 +18,7 @@ ResizeMode="NoResize" mc:Ignorable="d" Height="474" - Width="530" > + Width="580" > @@ -75,7 +75,7 @@ Margin="0,0,8,0" HorizontalAlignment="Right" VerticalAlignment="Top" - Click="removeStyle_Click" + Click="RemoveStyle_Click" Style="{StaticResource RemoveStyleButtonStyle}" Width="20" Height="30"> @@ -574,7 +574,7 @@