mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@
|
||||||
@GUI::TextBox {
|
@GUI::TextBox {
|
||||||
name: "entry_textbox"
|
name: "entry_textbox"
|
||||||
font_type: "FixedWidth"
|
font_type: "FixedWidth"
|
||||||
|
mode: "DisplayOnly"
|
||||||
|
focus_policy: "NoFocus"
|
||||||
}
|
}
|
||||||
|
|
||||||
@GUI::Widget {
|
@GUI::Widget {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue