Skip to content

Commit 1eb8bd9

Browse files
committed
Fix error message visual hidden
1 parent 35f73ca commit 1eb8bd9

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

ui/components/popups/ErrorOverlayPopup.tscn

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
[ext_resource type="StyleBox" path="res://ui/theme/button_outline_large_pressed.tres" id="10"]
1111

1212
[node name="ErrorOverlayPopup" type="MarginContainer" unique_id=275232876 node_paths=PackedStringArray("_error_label", "_content_block", "_error_explanation_block", "_error_explanation_value", "_error_suggestion_block", "_error_suggestion_value", "_no_content_label", "_exclusive_buttons", "_close_button")]
13-
visible = false
1413
custom_minimum_size = Vector2(580, 360)
1514
offset_right = 553.0
1615
offset_bottom = 362.0
@@ -54,12 +53,10 @@ layout_mode = 2
5453
theme_override_constants/separation = 0
5554

5655
[node name="Content" type="VBoxContainer" parent="MarginContainer/Column" unique_id=468346313]
57-
visible = false
5856
layout_mode = 2
5957
size_flags_vertical = 3
6058

6159
[node name="ErrorExplanation" parent="MarginContainer/Column/Content" unique_id=577124066 instance=ExtResource("5")]
62-
visible = false
6360
custom_minimum_size = Vector2(200, 0)
6461
layout_mode = 2
6562
title = "Why this happens"
@@ -69,9 +66,9 @@ is_expanded = true
6966
layout_mode = 2
7067
bbcode_enabled = true
7168
text = "Our error explanation."
69+
fit_content = true
7270

7371
[node name="ErrorSuggestion" parent="MarginContainer/Column/Content" unique_id=430840361 instance=ExtResource("5")]
74-
visible = false
7572
layout_mode = 2
7673
title = "How to fix this"
7774

@@ -80,8 +77,10 @@ visible = false
8077
layout_mode = 2
8178
bbcode_enabled = true
8279
text = "Our suggestion on how to fix it."
80+
fit_content = true
8381

8482
[node name="NoContent" type="RichTextLabel" parent="MarginContainer/Column" unique_id=1738366945]
83+
visible = false
8584
layout_mode = 2
8685
size_flags_vertical = 3
8786
bbcode_enabled = true

0 commit comments

Comments
 (0)