Skip to content

Conversation

ChiahongHong
Copy link
Contributor

This pull request fixes the issue with the foreground color in the tooltip for the primary button. The problem was caused by an incorrect selector, which resulted in the tooltip text being displayed in the wrong color.

  • ux: foreground for primary button 45b93a1)

Before:

bug

After:

fixed


I think this issue can be resolved simply by using the child combinator >. However, because I'm not familiar with Avalonia UI, I hope this solution does not introduce any unintended side effects.

@love-linger love-linger self-assigned this Aug 21, 2024
@love-linger love-linger added the bug Something isn't working label Aug 21, 2024
@love-linger love-linger merged commit a99f075 into sourcegit-scm:develop Aug 21, 2024
13 checks passed
love-linger added a commit that referenced this pull request Aug 21, 2024
* 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
@ChiahongHong ChiahongHong deleted the tooltip-color branch August 21, 2024 02:21
@love-linger love-linger mentioned this pull request Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants