summaryrefslogtreecommitdiff
path: root/ui/textbox.gd
diff options
context:
space:
mode:
Diffstat (limited to 'ui/textbox.gd')
-rw-r--r--ui/textbox.gd11
1 files changed, 11 insertions, 0 deletions
diff --git a/ui/textbox.gd b/ui/textbox.gd
new file mode 100644
index 0000000..4686293
--- /dev/null
+++ b/ui/textbox.gd
@@ -0,0 +1,11 @@
+extends PanelContainer
+
+
+var text := "":
+ set(value):
+ %LineEdit.text = value
+ get():
+ return %LineEdit.text
+
+
+@onready var line_edit: LineEdit = %LineEdit