roblillack / spot

React-like desktop GUI toolkit for Go
MIT License
1.11k stars 17 forks source link

ui/spinner: Implement in Cocoa backend using TextField combined with Stepper #5

Closed roblillack closed 5 months ago

roblillack commented 5 months ago

This PR adds a more complete implementation for Spot's Spinner by combining a NSTextField with a NSStepper:

image

Like the FLTK implementation it automatically wraps around and formats all values with zero precision for now.