[Rev 04] RFR: 8130738: Add tabSize property to Text and TextFlow

Nir Lisker nlisker at openjdk.java.net
Thu Dec 12 22:02:28 UTC 2019


On Thu, 12 Dec 2019 22:02:27 GMT, Scott Palmer <swpalmer at openjdk.org> wrote:

>> Added tabSize property to Text and TextFlow and -fx-tab-size CSS attribute to both.  TextFlow's tab size overrides that of contained Text nodes.
> 
> The pull request has been updated with 1 additional commit.

modules/javafx.graphics/src/main/java/javafx/scene/text/TextFlow.java line 494:

> 493:      * Values less than 1 are treated as 1. This value overrides the
> 494:      * {@code tabSize} of contained {@link javafx.scene.text.Text Text} nodes.
> 495:      *

`{@link Text}` is enough, but the FQN is also fine.

Does `Text`'s `tabSize` need a note that its value is overriden if the text is contained in a `TextFlow`?

-------------

PR: https://git.openjdk.java.net/jfx/pull/32


More information about the openjfx-dev mailing list