Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Add support for first line text indent in TextFlow #582

Open
garybentley opened this issue Sep 6, 2019 · 2 comments
Open

Add support for first line text indent in TextFlow #582

garybentley opened this issue Sep 6, 2019 · 2 comments

Comments

@garybentley
Copy link

Please add a css property to allow the first line of text to be indented in a TextFlow.

i.e. -fx-text-indent: 1em;

This issue: https://bugs.openjdk.java.net/browse/JDK-8091174 has been around for a long time now. This feature is commonly used for those writing stories and novels since writers will often use the indent to delineate paragraphs rather than newlines.

@garybentley
Copy link
Author

I raised a new feature request https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8231014

@tchudyk
Copy link

tchudyk commented Jun 23, 2021

Hi, I'm also interested in that feature, but with negative values - outdent first line.
i.e.. -fx-text-indent: -1em;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants