Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Allow setting an explicit handle height - #22

Open
timbodeit wants to merge 4 commits into
litl:masterfrom
timbodeit:explicit-handle-height
Open

Allow setting an explicit handle height#22
timbodeit wants to merge 4 commits into
litl:masterfrom
timbodeit:explicit-handle-height

Conversation

@timbodeit

Copy link
Copy Markdown

I am using WKVerticalScrollBar with a round button as the scroll handle like so:
screen shot 2015-11-10 at 00 33 50

To allow setting custom handle dimensions, I added an explicitHandleHeight and useExplicitHandleHeight attribute to WKVerticalScrollBar.

Other changes included in this pull request:

  • Immediatly update the handle color and handle width when setting them. Previously these changes only took effect after dragging the handle for the first time.
  • Explicitly specify WKVerticalScrollBar as a non-ARC project in the podspec.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant