Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REQUEST: css text shadow support #112

Closed
kokoko3k opened this issue Sep 9, 2016 · 3 comments
Closed

REQUEST: css text shadow support #112

kokoko3k opened this issue Sep 9, 2016 · 3 comments
Assignees

Comments

@kokoko3k
Copy link

kokoko3k commented Sep 9, 2016

Hi and thanks for this tool.
I'm trying to style my text using text-shadow css property, but i'm unable to do it.
this code in a custom script:

echo '<div style="text-shadow: 1px 1px #FF0000;">Text-shadow effect</div>'

...is rendered without shadow. Is it a qt limitation maybe?

@arcan1s arcan1s self-assigned this Sep 11, 2016
@arcan1s
Copy link
Owner

arcan1s commented Sep 11, 2016

Hi,

Thank you for the feedback.

Yeah, qml text rendering supports only limited HTML subset by default, e.g here is available attributes for div tag. I'm afraid the easiest way is only to define style for whole widget. Another way is to change default text widget to something else which supports more tags/attributes, but I would avoid this coz it will cause additional load almost without any profit.

@kokoko3k
Copy link
Author

As i imagined, thanks!

@kokoko3k
Copy link
Author

Thanks!
I needed to make a new widget for the new settings to work.

@kokoko3k kokoko3k reopened this May 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants