Skip to content

Commit

Permalink
Fix custom node dialog size (DynamoDS#11300)
Browse files Browse the repository at this point in the history
Fixes the size of the custom node dialog so that buttons are not cut
outside of its boundaries when using a multi-line description.
  • Loading branch information
mmisol committed Dec 3, 2020
1 parent 4045be7 commit 7b54fd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DynamoCoreWpf/UI/Prompts/FunctionNamePrompt.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ui="clr-namespace:Dynamo.UI"
xmlns:p="clr-namespace:Dynamo.Wpf.Properties;assembly=DynamoCoreWpf"
Title="{x:Static p:Resources.CustomNodePropertyWindowTitle}" Height="410" Width="400" WindowStartupLocation="CenterOwner"
Title="{x:Static p:Resources.CustomNodePropertyWindowTitle}" Height="440" Width="400" WindowStartupLocation="CenterOwner"
Style="{DynamicResource DynamoWindowStyle}">

<Window.Resources>
Expand Down Expand Up @@ -39,7 +39,7 @@
<TextBlock Text="{x:Static p:Resources.CustomNodePromptDescriptionTooltip}" />
</Label.ToolTip>
</Label>
<TextBox Style="{DynamicResource SDarkTextBox}" MaxHeight="64" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto"
<TextBox Style="{DynamicResource SDarkTextBox}" Height="64" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto"
Name="DescriptionInput" Padding="5" MinLines="3" TextWrapping="Wrap" AcceptsReturn="True" Tag="{x:Static p:Resources.CustomNodePropertyWindowDescriptionHint}"/>

<Label Content="{x:Static p:Resources.CustomNodePropertyWindowCategory}" Foreground="DarkGray" Height="28" HorizontalAlignment="Stretch" Name="label2" />
Expand Down

0 comments on commit 7b54fd1

Please sign in to comment.