mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-13 18:37:37 +02:00
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.
1.9 KiB
1.9 KiB