Change the TextEdit's font

This commit is contained in:
OverloadedOrama 2020-10-16 17:27:00 +03:00
parent baae34f467
commit 6c765dc2fb

View file

@ -30,6 +30,7 @@ func draw_start(position : Vector2) -> void:
text_edit.rect_position = get_viewport().get_mouse_position()
text_edit_pos = position
text_edit.rect_min_size = Vector2(100, 60)
text_edit.add_font_override("font", font)
Global.control.add_child(text_edit)