From 228e60692a265a879b4cd64acb6311f8acb906e2 Mon Sep 17 00:00:00 2001 From: tpart Date: Sun, 30 Jun 2024 22:36:23 +0200 Subject: Add length limit to unername --- client/menu/setup_menu.tscn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'client/menu/setup_menu.tscn') diff --git a/client/menu/setup_menu.tscn b/client/menu/setup_menu.tscn index 81c0aad5..e5229df3 100644 --- a/client/menu/setup_menu.tscn +++ b/client/menu/setup_menu.tscn @@ -91,7 +91,8 @@ layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 -offset_bottom = 0.00012207 +offset_right = 1152.0 +offset_bottom = 648.0 grow_horizontal = 2 grow_vertical = 2 horizontal_scroll_mode = 0 @@ -189,6 +190,7 @@ layout_mode = 2 [node name="LineEdit" type="LineEdit" parent="ScrollContainer/Control/TextureRect/PaperMargin/Contents/NameEntry"] custom_minimum_size = Vector2(300, 30) layout_mode = 2 +max_length = 64 [node name="Control" type="Control" parent="ScrollContainer/Control/TextureRect/PaperMargin/Contents/NameEntry"] layout_mode = 2 -- cgit v1.2.3-70-g09d2