github nacular/doodle v0.8.1
0.8.1

latest releases: v0.11.5, v0.11.4, v0.11.3...
3 years ago

APIs

It is now possible to take the scrollbar size into account when specifying the width and height of a ScrollPanel.content.
There are 2 new properties (scrollBarWidth and scrollBarHeight) available on the parent property when setting
contentWidthConstraints and contentHeightConstraints. These values are magnitudes and can be combined with the panel's
width or height to ensure the content does not go behind the scrollbars.

These values are dynamic and will return 0.0 when the scrollbars are not visible.

scrollPanel.apply {
  contentWidthConstraints  = { parent.width  - parent.scrollBarWidth  }
  contentHeightConstraints = { parent.height - parent.scrollBarHeight }
}

Fixes | Improvements

  • General
    • #38 ScrollPanel now exposes scrollbar dimensions via ContentConstrains that can be used when specifying contentWidthConstraints and contentHeightConstraints neddy 7/13/22, 8:21 PM
    • #37 Where BasicDropdownBehavior was not setting the Dropdown's selection to an updated index when selected.
  • Browser
    • No longer delaying native scroll panel updates neddy 32 minutes ago
  • Desktop
    • Graphics state which preventing some native control UIs (i.e. scroll panels) from rendering properly) neddy Yesterday 8:06 PM
    • Fix native slider mouse handling neddy Yesterday 8:05 PM
    • Improved cursor handling for native scrollbars neddy Yesterday 7:06 AM
    • Cursor updating neddy 7/13/22, 8:19 PM

Don't miss a new doodle release

NewReleases is sending notifications on new releases.