RFR: 8314482: TextFlow: TabStopPolicy [v2]

Michael Strauß mstrauss at openjdk.org
Wed Jun 18 18:13:37 UTC 2025


On Wed, 18 Jun 2025 17:02:13 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> This terminology is borrowed from a well known software product.  I think it is apt as it describes the spacing (and the positions) of multiple tab stops, and also the users might be familiar with the term.
>
> Hmm. OK then.

This doesn't read like a proper English sentence to me. In Microsoft Word, there's a spinner control titled "Default tab stops:", which I suppose should be read as, for example: "Default tab stops every 0.5 cm".

As for naming the API, I suggest something like `defaultTabWidth` or `defaultWidth` (the word "tab" doesn't need to be repeated, as it's declared in a class named `TabStopPolicy`).

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1744#discussion_r2155215581


More information about the openjfx-dev mailing list