summaryrefslogtreecommitdiff
path: root/LibGUI/GSpinBox.cpp
AgeCommit message (Collapse)Author
2019-04-10GSpinBox: Move increment/decrement button within the widget frame.Andreas Kling
2019-04-10GSpinBox: Put nice little arrow glyphs on the buttons.Andreas Kling
2019-04-09LibGUI: Add a spinbox widget.Andreas Kling
This is essentially a combo widget containing a single-line GTextEditor and two buttons for increment and decrement. The GTextEditor::on_change callback is hooked to prevent non-numeric input but it's not entirely perfect since that callback is asynchronous. This will work until we have some more sophisticated input validation mechanism though.