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.

Set color / fontsize dynamically

See original GitHub issue

In previous version it was possible to access the text / title directly by getTitle() and getText(). You could then call for example setTextSize() or setTextColor() directly.

Now this is not possible anymore and you can only change the appearance by using a style resource with setTextAppearance(). However, I need to set the color dynamically. @kpmmmurphy would you accept a PR to add these getters back?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
kpmmmurphycommented, Jun 25, 2020

Hey @dosomder, PRs always welcome!

1reaction
dosomdercommented, Jun 25, 2020

@kpmmmurphy Anything against a PR?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dynamically changing font, font-size, font-color, and so on in ...
In Vaadin Flow (versions 10 and later), is there some way to dynamically change the font, font size, font color and such of...
Read more >
Selected Item : Change Font Size and color dynamically.
Hi, I have a RAD Combo box with some 5-10 Items in it. I would like dynamically change font color and font size...
Read more >
HTML paragraph text color and font-size dynamically ...
paragraphcolorchange #htmlwebdesignHTML web design change text font size and color dynamically jquery javascript.
Read more >
Set font size/color on dynamic data Rich Text Field - CMS
You can't dynamically customize font colors in rich-text editors at the moment. You will have to create a separate text block for that....
Read more >
Solved: Possible to change font color of ONLY a dynamic va...
Possible to change font color of ONLY a dynamic value in a static text string ; HTML Measure = ; = SELECTEDVALUE ;...
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