RFR: 8334874: Horizontal scroll events from touch pads should scroll the TabPane tabs [v3]

Jose Pereda jpereda at openjdk.org
Tue Jun 25 21:47:42 UTC 2024


> This PR considers the horizontal scroll events that can be generated on a trackpad, on an horizontally sided `TabPane` control (top or bottom), adding to the existing vertical scroll events from mouse wheel and trackpad, to scroll its tabs.
> 
> Therefore, scrolling a `TabPane` will behave in the same way that `ScrollBar` does regarding those same events and control orientation (vertical/horizontal).

Jose Pereda has updated the pull request incrementally with one additional commit since the last revision:

  Add tests for all four sides

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1486/files
  - new: https://git.openjdk.org/jfx/pull/1486/files/2046b04e..2c4914ca

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1486&range=02
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1486&range=01-02

  Stats: 54 lines in 1 file changed: 31 ins; 5 del; 18 mod
  Patch: https://git.openjdk.org/jfx/pull/1486.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1486/head:pull/1486

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


More information about the openjfx-dev mailing list