Adjust dialog UI

This commit is contained in:
2024-09-09 18:19:32 -07:00
parent edef839b87
commit f8f3c9842f
22 changed files with 156 additions and 145 deletions

View File

@@ -62,7 +62,7 @@ corner_radius_bottom_left = 5
[sub_resource type="Theme" id="Theme_qq3yp"]
default_font = ExtResource("2_c4c1f")
default_font_size = 20
default_font_size = 34
Button/styles/disabled = SubResource("StyleBoxFlat_spyqn")
Button/styles/focus = SubResource("StyleBoxFlat_ri4m3")
Button/styles/hover = SubResource("StyleBoxFlat_e0njw")
@@ -105,21 +105,24 @@ grow_horizontal = 2
grow_vertical = 2
theme = SubResource("Theme_qq3yp")
[node name="Dialogue" type="MarginContainer" parent="Balloon"]
[node name="CenterContainer2" type="CenterContainer" parent="Balloon"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -124.0
offset_bottom = 1.0
offset_top = -331.0
grow_horizontal = 2
grow_vertical = 0
[node name="VBoxContainer" type="VBoxContainer" parent="Balloon/Dialogue"]
[node name="Dialogue" type="MarginContainer" parent="Balloon/CenterContainer2"]
custom_minimum_size = Vector2(1000, 300)
layout_mode = 2
[node name="CharacterLabel" type="RichTextLabel" parent="Balloon/Dialogue/VBoxContainer"]
[node name="VBoxContainer" type="VBoxContainer" parent="Balloon/CenterContainer2/Dialogue"]
layout_mode = 2
[node name="CharacterLabel" type="RichTextLabel" parent="Balloon/CenterContainer2/Dialogue/VBoxContainer"]
unique_name_in_owner = true
modulate = Color(1, 1, 1, 0.501961)
layout_mode = 2
@@ -135,7 +138,7 @@ text = "Character"
fit_content = true
scroll_active = false
[node name="DialogueLabel" parent="Balloon/Dialogue/VBoxContainer" instance=ExtResource("2_jm6sr")]
[node name="DialogueLabel" parent="Balloon/CenterContainer2/Dialogue/VBoxContainer" instance=ExtResource("2_jm6sr")]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
@@ -146,6 +149,9 @@ theme_override_styles/fill = SubResource("StyleBoxEmpty_vtj1a")
theme_override_styles/background = SubResource("StyleBoxEmpty_c2c5i")
theme_override_styles/focus = SubResource("StyleBoxEmpty_wv0ko")
theme_override_styles/normal = SubResource("StyleBoxEmpty_dboi3")
text = "I do not know thee but I perceive thine sorrows vividly,
for I am embraced by their brethren."
fit_content = false
[node name="CenterContainer" type="CenterContainer" parent="Balloon"]
layout_mode = 1