RFR: 8089280: horizontal scrollbar should never become visible in TableView with constrained resize policy

Andy Goryachev angorya at openjdk.org
Fri Sep 9 21:19:15 UTC 2022


Modified the tree/table view internals to suppress the horizontal (a.k.a. breadth in VirtualFlow) scroll bar when a constrained resize mode is in effect.  This change complements fixes added in [JDK-8089009](https://bugs.openjdk.org/browse/JDK-8089009) without addressing other bugs found in https://bugs.openjdk.org/browse/JDK-8292810

This PR might need a CSR since a public method is added to VirtualFlow:


    /**
     * Suppresses the breadth bar from appearing.
     */
    public void setSuppressBreadthBar(boolean suppress) {
        this.suppressBreadthBar = suppress;
    }

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

Commit messages:
 - 8089280: constrained resize policy suppresses horizontal scroll bar

Changes: https://git.openjdk.org/jfx/pull/894/files
 Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=894&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8089280
  Stats: 38 lines in 5 files changed: 23 ins; 7 del; 8 mod
  Patch: https://git.openjdk.org/jfx/pull/894.diff
  Fetch: git fetch https://git.openjdk.org/jfx pull/894/head:pull/894

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


More information about the openjfx-dev mailing list