-
Notifications
You must be signed in to change notification settings - Fork 337
Closed
Description
These 3 Triggers in the VS2013 Theme set the document tab close button (PART_ImgPinClose) to the wrong ResourceKey (DockingButtonForegroundArrowBrushKey)
They should be, respectively:
DocumentWellTabButtonSelectedInactiveGlyphAvalonDock/source/Components/AvalonDock.Themes.VS2013/Themes/Generic.xaml
Lines 1446 to 1452 in 9c3046b
<!-- Document Well : Tab : Button / Selected, inactive --> <MultiDataTrigger> <MultiDataTrigger.Conditions> <Condition Binding="{Binding IsLastFocusedDocument}" Value="true" /> </MultiDataTrigger.Conditions> <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundArrowBrushKey}}" /> </MultiDataTrigger> DocumentWellTabButtonSelectedInactiveHoveredGlyphAvalonDock/source/Components/AvalonDock.Themes.VS2013/Themes/Generic.xaml
Lines 1454 to 1463 in 9c3046b
<!-- Document Well : Tab : Button / Selected, inactive, hovered --> <MultiDataTrigger> <MultiDataTrigger.Conditions> <Condition Binding="{Binding IsLastFocusedDocument}" Value="true" /> <Condition Binding="{Binding IsMouseOver, ElementName=DocumentCloseButton}" Value="True" /> </MultiDataTrigger.Conditions> <Setter TargetName="DocumentCloseButton" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredBackground}}" /> <Setter TargetName="DocumentCloseButton" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredBorder}}" /> <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundArrowBrushKey}}" /> </MultiDataTrigger> DocumentWellTabButtonSelectedActiveGlyphAvalonDock/source/Components/AvalonDock.Themes.VS2013/Themes/Generic.xaml
Lines 1476 to 1479 in 9c3046b
<!-- Document Well : Tab : Button / Selected, active --> <DataTrigger Binding="{Binding IsActive}" Value="true"> <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundArrowBrushKey}}" /> </DataTrigger>
Metadata
Metadata
Assignees
Labels
No labels