Calculator: Make calculator display non-interactive
Previously, it was possible for the user to input text into the calculator display. With this change, the calculator display is made read-only.
This commit is contained in:
parent
92852b8477
commit
043d5d5c27
Notes:
sideshowbarker
2024-07-17 04:34:25 +09:00
Author: https://github.com/tcl3 Commit: https://github.com/SerenityOS/serenity/commit/043d5d5c27 Pull-request: https://github.com/SerenityOS/serenity/pull/22707 Reviewed-by: https://github.com/LucasChollet ✅
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@
|
|||
@GUI::TextBox {
|
||||
name: "entry_textbox"
|
||||
font_type: "FixedWidth"
|
||||
mode: "DisplayOnly"
|
||||
focus_policy: "NoFocus"
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
|
|
Loading…
Add table
Reference in a new issue