[jfx20] RFR: 8293587: Fix mistakes in FX API docs [v3]

Nir Lisker nlisker at openjdk.org
Tue Feb 7 17:20:15 UTC 2023


On Tue, 7 Feb 2023 13:05:21 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> Nir Lisker has updated the pull request incrementally with three additional commits since the last revision:
>> 
>>  - Update modules/javafx.graphics/src/main/java/javafx/scene/text/TextFlow.java
>>    
>>    Co-authored-by: John Hendrikx <john.hendrikx+github at gmail.com>
>>  - Update modules/javafx.graphics/src/main/java/javafx/scene/text/TextFlow.java
>>    
>>    Co-authored-by: John Hendrikx <john.hendrikx+github at gmail.com>
>>  - Update modules/javafx.graphics/src/main/java/javafx/scene/text/TextFlow.java
>>    
>>    Co-authored-by: John Hendrikx <john.hendrikx+github at gmail.com>
>
> modules/javafx.graphics/src/main/java/javafx/scene/text/TextFlow.java line 143:
> 
>> 141:  * application may set them to other values as needed:
>> 142:  * <pre><code>
>> 143:  *     <b>textflow.setMaxWidth(500);</b>
> 
> Maybe remove the `<b>` tag while you are at it?

All the other panes use this format, for example, https://openjfx.io/javadoc/19/javafx.graphics/javafx/scene/layout/BorderPane.html.

Maybe in a Panes doc cleanup issue. I always thought more images were needed in these to show the layouts, so I could look into that.

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

PR: https://git.openjdk.org/jfx/pull/1025


More information about the openjfx-dev mailing list