Skip to content

Commit

Permalink
Update Node AutoComplete Dialog Visuals (#13329)
Browse files Browse the repository at this point in the history
* Update Node AutoComplete Visuals

* Reuse style from central location
  • Loading branch information
QilongTang authored Sep 22, 2022
1 parent 2459d0f commit 610d965
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions src/DynamoCoreWpf/Controls/NodeAutoCompleteSearchControl.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<ui:SharedResourceDictionary Source="{x:Static ui:SharedDictionaryManager.SidebarGridDictionaryUri}" />
<ui:SharedResourceDictionary Source="{x:Static ui:SharedDictionaryManager.DynamoColorsAndBrushesDictionaryUri}" />
<ui:SharedResourceDictionary Source="{x:Static ui:SharedDictionaryManager.DynamoConvertersDictionaryUri}" />
<ui:SharedResourceDictionary Source="{x:Static ui:SharedDictionaryManager.DynamoModernDictionaryUri}" />
</ResourceDictionary.MergedDictionaries>

<Style x:Key="SearchMemberStyle"
Expand Down Expand Up @@ -76,26 +77,22 @@
TextAlignment="Center"
FontSize="14">
</TextBlock>
<Image Width="14" Height="14" MouseDown="OnMoreInfoClicked" Margin="40,5,10,5" HorizontalAlignment="Right" VerticalAlignment="Center">
<Image.Style>
<Style TargetType="{x:Type Image}">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="False">
<Setter Property="Source" Value="/DynamoCoreWpf;component/UI/Images/whiteinfotab.png" />
</Trigger>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Source" Value="/DynamoCoreWpf;component/UI/Images/info_2.png" />
</Trigger>
</Style.Triggers>
</Style>
</Image.Style>
<Image Name="NodeAutoCompleteInfoIcon"
Width="14"
Height="14"
MouseDown="OnMoreInfoClicked"
Margin="40,5,10,5"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Style="{StaticResource ToggleInfoStyle}">

</Image>
<Image Width="14" Height="14" Margin="0,5,10,5" MouseDown="CloseAutocompletionWindow" HorizontalAlignment="Right" VerticalAlignment="Center">
<Image.Style>
<Style TargetType="{x:Type Image}">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="False">
<Setter Property="Source" Value="/DynamoCoreWpf;component/UI/Images/whiteclosetab.png" />
<Setter Property="Source" Value="/DynamoCoreWpf;component/UI/Images/TitleBarButtons/close-darktheme-default-16px.png" />
</Trigger>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Source" Value="/DynamoCoreWpf;component/UI/Images/TitleBarButtons/close-darktheme-hover-16px.png" />
Expand Down

0 comments on commit 610d965

Please sign in to comment.