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.

[Feature] add outline to label and button text

See original GitHub issue

Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?YES

Tell us about the problem

Currently there is no way to add outline for texts in nativescript. but we need that in cases the color of Label ( or Button with transparent background) and parent are same so if we don’t add an outline to text of button and label the element will be invisible.

I found that for android this can be done using shadaw for Label and stroke for button.

It would be really good if we had CSS property to set outline of text.

<bountysource-plugin>

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. </bountysource-plugin>

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:7
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
elalienxcommented, May 28, 2018

Yes, please add the text-shadow property.

5reactions
bzarukcommented, Jan 17, 2018

+1 text-shadow

Read more comments on GitHub >

github_iconTop Results From Across the Web

swift - How to add border to text in a button? - Stack Overflow
3 Answers 3 · Hi! · Can you show me the design? · @AwaisKhan The code you gave will add border to the...
Read more >
Labeling Controls | Web Accessibility Initiative (WAI) - W3C
Provide labels to identify all form controls, including text fields, checkboxes, radio buttons, and drop-down menus. In most cases, this is done by...
Read more >
CSS for Labels, Buttons and Form Interactions - HTML Goodies
This fourth part in a web development tutorial focuses on how to create and style form labels and buttons in CSS. Learn more....
Read more >
How to Set Border of Tkinter Label Widget? - GeeksforGeeks
relief: It will Specify the look of a decorative border around the label. By default, it is FLAT. Other than Flat there are...
Read more >
outline - CSS: Cascading Style Sheets - MDN Web Docs
There are a few properties that affect an outline's appearance. It is possible to change the style, color, and width using the outline...
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