Skip to content

Commit 67bcba6

Browse files
authored
ALSO-5603 Hide missing ML complete controls if hiding option is set (#13859)
1 parent d7bab40 commit 67bcba6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/DynamoCoreWpf/Views/Menu/PreferencesView.xaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -822,19 +822,20 @@
822822
</Image>
823823
</StackPanel>
824824

825-
<StackPanel Orientation="Horizontal" Margin="0,-5,0,0" Grid.Row="1">
825+
<StackPanel Orientation="Horizontal" Margin="0,-5,0,0" Grid.Row="1"
826+
Visibility="{Binding HideAutocompleteMethodOptions, Converter={StaticResource InverseBoolToVisibilityCollapsedConverter}}">
826827
<!-- This Grid contains controls for selecting the Node autocomplete method -->
827828
<Grid Margin="60,0,0,0">
828829
<Grid.RowDefinitions>
829830
<RowDefinition Height="Auto" />
830831
<RowDefinition Height="*" />
831832
<RowDefinition Height="*" />
832833
</Grid.RowDefinitions>
833-
<Label Grid.Row="0" Visibility="{Binding HideAutocompleteMethodOptions, Converter={StaticResource InverseBoolToVisibilityCollapsedConverter}}"
834+
<Label Grid.Row="0"
834835
Margin="-8,15,10,3"
835836
Content="{x:Static p:Resources.PreferencesNodeAutocompleteMethod}"
836837
Foreground="{StaticResource PreferencesWindowFontColor}"/>
837-
<Grid Grid.Row="1" Visibility="{Binding HideAutocompleteMethodOptions, Converter={StaticResource InverseBoolToVisibilityCollapsedConverter}}">
838+
<Grid Grid.Row="1" >
838839
<Grid.ColumnDefinitions>
839840
<ColumnDefinition x:Name="colObjectType" Width="Auto"/>
840841
<ColumnDefinition x:Name="colMachineLearning" Width="Auto"/>

0 commit comments

Comments
 (0)