mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
fix: button tooltip foreground (#381)
* TextBlock may not be the direct child of Button, for example, it may wrapped by a StackPanel with icons. * Introduce another way to solve this problem
This commit is contained in:
parent
a99f075c64
commit
7b26589485
1 changed files with 4 additions and 1 deletions
|
@ -514,9 +514,12 @@
|
||||||
<Style Selector="Button.flat.primary:pointerover /template/ ContentPresenter#PART_ContentPresenter">
|
<Style Selector="Button.flat.primary:pointerover /template/ ContentPresenter#PART_ContentPresenter">
|
||||||
<Setter Property="Background" Value="Transparent"/>
|
<Setter Property="Background" Value="Transparent"/>
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="Button.flat.primary > TextBlock">
|
<Style Selector="Button.flat.primary TextBlock">
|
||||||
<Setter Property="Foreground" Value="{DynamicResource AccentButtonForeground}"/>
|
<Setter Property="Foreground" Value="{DynamicResource AccentButtonForeground}"/>
|
||||||
</Style>
|
</Style>
|
||||||
|
<Style Selector="Button.flat.primary ToolTip TextBlock">
|
||||||
|
<Setter Property="Foreground" Value="{DynamicResource Brush.FG1}"/>
|
||||||
|
</Style>
|
||||||
|
|
||||||
<Style Selector="aes|SearchPanel">
|
<Style Selector="aes|SearchPanel">
|
||||||
<Setter Property="Template">
|
<Setter Property="Template">
|
||||||
|
|
Loading…
Reference in a new issue