Files
openide/platform/jewel/int-ui/int-ui-standalone
Sebastiano Poggi 834ee1d926 Reimplement/fix/complete implementation of scrollbars (#554)
* Fix Scrollbars [part 1/n]

* Implement TrackClickBehaviors correctly
* Fix macOS scrollbar styling
* Provide ScrollableContainers for a simple, turn-key scrollbar API
* Make expanded scrollbar not hide while the mouse moves over the
  scrollable composable
* Fix the expanding behaviour and animation on macOS
* Fix the visibility logic on macOS
* Resolve a number of inconsistencies with Swing implementations
* Simplify and consolidate internal implementation
* Separate tabStrip scrollbar styling

* Fix Scrollbars [part 2/n]

* Fix thumb colour fade in AlwaysVisible mode
* Move sample border to Outside so it doesn't overlap the scrollbar

* Fix Scrollbars [part 4/n]

* Rework layout/draw logic to finally align with Swing, in dark mode too
* Switch to custom drawing for the thumb for more control

* Fix Scrollbars [part 5/n]

* Cleanup code
* Update API definitions

* Fix Scrollbars [part 6/n]

* Make bridge compile
* Fix styling in bridge
* Update bridge samples
* Fix TextArea scrollbars

* Fix Scrollbars [part 7/n]

* Fix bug in ScrollableContainer
* Improve ReleasesSampleCompose

* Fix Scrollbars [part 8/n]

* Rewrite MacScrollbarHelper to avoid native crashes

* Fix Scrollbars [part 10/n]

* Add decorationModifier to TextArea API (useful e.g., for padding when
  there are scrollbars)
* Fix ScrollableContainerImpl layout logic and bugs
* Fix one HorizontallyScrollableContainer using vScroll by mistake
* Use HorizontallyScrollableContainer in Markdown block renderer
* Update standalone sample Markdown with new APIs

* Fix Scrollbars [part 11/n]

* Add mouse move linger behaviour to all ScrollableContainers
* Add horizontal scrolling example to standalone sample
* Fix ScrollableContainerImpl layout bug with WhenScrolling

* Fix Scrollbars [part 12/n]

* Remove debug bg from Scrollbars sample
* Fix thumb appearing/disappearing animation
* Fix colour animations
* Keep AlwaysVisible thumb "hovered" while dragging
* Fix styling in the bridge

* Fix Scrollbars [part 13/n]

* Fix InputField ignoring provided scrollbar style
* Remove useless KDocs from TextArea/TextField
* Clean up code
* Mark non-state-based TextArea/TextField as scheduled for removal

* Fix Scrollbars [part 14/n]

* Fix native crash when TextField/TextArea don't have a fixed width
* Redo the entire BTF2-based InputField implementation, better
* Expose all the new parameters that BTF2-based InputField has to the
  users of TextField and TextArea
* Fix TextArea decoration and scrollbars

* Fix Scrollbars [part 15/n]

* Fix scrollbars on Windows and Linux
* Fix TextArea end padding to account for scrollbar

* Fix Scrollbars [part 16/16]

* Clean up code
* Add scrollbar to undecorated TextAreas
GitOrigin-RevId: 3cfeadb7e17d05f76b25a38c4a1ed9062bcbc8d3
2024-08-26 14:56:04 +02:00
..