diff --git a/src/DynamoCoreWpf/UI/Prompts/FunctionNamePrompt.xaml b/src/DynamoCoreWpf/UI/Prompts/FunctionNamePrompt.xaml index e9613dea627..e0c6b354bf9 100644 --- a/src/DynamoCoreWpf/UI/Prompts/FunctionNamePrompt.xaml +++ b/src/DynamoCoreWpf/UI/Prompts/FunctionNamePrompt.xaml @@ -1,17 +1,15 @@ - - - - - True - + Width="450" + Height="540" + AllowsTransparency="True" + WindowStyle="None" + Background="Transparent"> @@ -231,6 +229,8 @@ @@ -379,5 +379,14 @@ Style="{DynamicResource ResourceKey=CtaButtonStyle}" TabIndex="2" /> + + diff --git a/src/DynamoCoreWpf/UI/Prompts/FunctionNamePrompt.xaml.cs b/src/DynamoCoreWpf/UI/Prompts/FunctionNamePrompt.xaml.cs index 45f1e41d28f..c67c5b62401 100644 --- a/src/DynamoCoreWpf/UI/Prompts/FunctionNamePrompt.xaml.cs +++ b/src/DynamoCoreWpf/UI/Prompts/FunctionNamePrompt.xaml.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Windows; using System.Windows.Controls; @@ -32,6 +32,7 @@ public FunctionNamePrompt(IEnumerable categories) categoryBox.Items.Add(item); } } + void OK_Click(object sender, RoutedEventArgs e) { diff --git a/src/DynamoCoreWpf/Views/Core/DynamoView.xaml.cs b/src/DynamoCoreWpf/Views/Core/DynamoView.xaml.cs index dd79b7af0fd..26692f390e7 100644 --- a/src/DynamoCoreWpf/Views/Core/DynamoView.xaml.cs +++ b/src/DynamoCoreWpf/Views/Core/DynamoView.xaml.cs @@ -1726,8 +1726,6 @@ internal void ShowNewFunctionDialog(FunctionNamePromptEventArgs e) categoryBox = { Text = e.Category }, DescriptionInput = { Text = e.Description }, nameBox = { Text = e.Name }, - Owner = this, - WindowStartupLocation = WindowStartupLocation.CenterOwner }; if (e.CanEditName)