question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Setting Button Foreground sometimes doesen`t work with

See original GitHub issue

I have ⚙️a symbol, and I need to color it in Cyan. In WPF everything I need to do is <Button Foreground="Cyan" Content="⚙️"></Button> But for Avalonia, I cant color it anyway. Mb I missed something?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Gillibaldcommented, Nov 21, 2020

It is possible to have monochrome Emoji by using a font that has no color glyphs. Just specify the font explicitly. Monochrome Emoji work with the foreground brush.

1reaction
Gillibaldcommented, Nov 21, 2020

I have updated the text

Read more comments on GitHub >

github_iconTop Results From Across the Web

wpf - Button foreground doesn't change when content is ...
1 Answer 1 ... Your trigger should be in the Style, and should be setting Foreground on the Button itself, rather than on...
Read more >
Mouse buttons not working while certain apps are in ...
However, mouse buttons don't work for anything that is not exclusively a started application. Right or Left click doesn't respond.
Read more >
Is anyone else having this issue where windows won't ...
The app isn't unresponsive. Windows 11 cannot bring it to the foreground (and keep it there) and focus when clicked from taskbar. Alt-tab...
Read more >
Using foregroundColor(), foregroundStyle() or tint() to set text ...
It doesn't have a version that returns Text when applied directly to a Text view. This means that it can be more efficient...
Read more >
New Buttons and Button Themes
A new set of basic material button widgets and themes have been added to Flutter. The original classes have been deprecated and will...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found