mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-05-07 11:24:49 -04:00
Change the TextEdit's font
This commit is contained in:
parent
baae34f467
commit
6c765dc2fb
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ func draw_start(position : Vector2) -> void:
|
||||||
text_edit.rect_position = get_viewport().get_mouse_position()
|
text_edit.rect_position = get_viewport().get_mouse_position()
|
||||||
text_edit_pos = position
|
text_edit_pos = position
|
||||||
text_edit.rect_min_size = Vector2(100, 60)
|
text_edit.rect_min_size = Vector2(100, 60)
|
||||||
|
text_edit.add_font_override("font", font)
|
||||||
Global.control.add_child(text_edit)
|
Global.control.add_child(text_edit)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue