A DESCRIPTION OF THE PROBLEM :
A common feature in multi-line, wrapping text entry fields is the ability to indent the first line of text. This feature is commonly used for writers of prose where, instead of using multiple new lines to delineate paragraphs, a text indent is used on the first line of the text. This layout is also the standard in printed prose such as books.
HTML CSS has support for this feature via the "text-indent" property. JTextPane in Java Swing supported it via StyleConstants.setFirstLineIndent().
Please add a new JavaFX css property for TextFlow: "-fx-text-indent" (or similar) that allows the user to set the first line indent in the flow.
A common feature in multi-line, wrapping text entry fields is the ability to indent the first line of text. This feature is commonly used for writers of prose where, instead of using multiple new lines to delineate paragraphs, a text indent is used on the first line of the text. This layout is also the standard in printed prose such as books.
HTML CSS has support for this feature via the "text-indent" property. JTextPane in Java Swing supported it via StyleConstants.setFirstLineIndent().
Please add a new JavaFX css property for TextFlow: "-fx-text-indent" (or similar) that allows the user to set the first line indent in the flow.
- relates to
-
JDK-8300569 ☂ Missing APIs related to rich text control
- In Progress
-
JDK-8315048 Add Bullet Property to TextFlow
- Closed