openjdk-jfx icon indicating copy to clipboard operation
openjdk-jfx copied to clipboard

Add support for first line text indent in TextFlow

Open garybentley opened this issue 5 years ago • 2 comments

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 avatar Sep 06 '19 01:09 garybentley

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

garybentley avatar Sep 16 '19 00:09 garybentley

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

tchudyk avatar Jun 23 '21 16:06 tchudyk