Skip to content

Commit

Permalink
Hide border if the group has no content (#12259)
Browse files Browse the repository at this point in the history
  • Loading branch information
SHKnudsen authored Nov 8, 2021
1 parent 388cace commit 59264bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/DynamoCoreWpf/UI/Themes/Modern/DynamoConverters.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,5 @@
TrueBrush="{StaticResource PinnedIconForegroundColor}" />
<controls:NestedGroupsLabelConverter x:Key="NestedGroupsLabelConverter" />
<controls:CollectionHasMoreThanNItemsToBoolConverter x:Key="CollectionHasMoreThanNItemsToBoolConverter" />
<controls:ListHasMoreThanNItemsToVisibilityConverter x:Key="ListHasMoreThanNItemsToVisibilityConverter" />
</ResourceDictionary>
1 change: 1 addition & 0 deletions src/DynamoCoreWpf/Views/Core/AnnotationView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@
CornerRadius="{StaticResource ExpanderCornerRadius}"
IsHitTestVisible="False"
Canvas.ZIndex="41"
Visibility="{Binding Nodes, Converter={StaticResource ListHasMoreThanNItemsToVisibilityConverter}}"
Margin="-1">
<Border.BorderBrush>
<SolidColorBrush Color="{Binding Background}" />
Expand Down

0 comments on commit 59264bc

Please sign in to comment.