Fiddle with UI

This commit is contained in:
2024-09-10 20:38:22 -07:00
parent 7268cb445a
commit 0c9b1cd689
5 changed files with 55 additions and 35 deletions

View File

@@ -92,8 +92,8 @@ Panel/styles/panel = SubResource("StyleBoxFlat_uy0d5")
[node name="DialogueBalloon" type="CanvasLayer"]
layer = 100
script = ExtResource("1_okfmu")
NextAction = "Throw"
SkipAction = "Throw"
NextAction = "ui_cancel"
SkipAction = "ui_accept"
[node name="Balloon" type="Control" parent="."]
unique_name_in_owner = true
@@ -105,27 +105,27 @@ grow_horizontal = 2
grow_vertical = 2
theme = SubResource("Theme_qq3yp")
[node name="CenterContainer2" type="CenterContainer" parent="Balloon"]
[node name="Dialogue" type="CenterContainer" parent="Balloon"]
custom_minimum_size = Vector2(1000, 250)
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -331.0
offset_top = -254.0
grow_horizontal = 2
grow_vertical = 0
size_flags_vertical = 3
[node name="Dialogue" type="MarginContainer" parent="Balloon/CenterContainer2"]
custom_minimum_size = Vector2(1000, 300)
[node name="VBoxContainer" type="VBoxContainer" parent="Balloon/Dialogue"]
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="Balloon/CenterContainer2/Dialogue"]
layout_mode = 2
[node name="CharacterLabel" type="RichTextLabel" parent="Balloon/CenterContainer2/Dialogue/VBoxContainer"]
[node name="CharacterLabel" type="RichTextLabel" parent="Balloon/Dialogue/VBoxContainer"]
unique_name_in_owner = true
modulate = Color(1, 1, 1, 0.501961)
custom_minimum_size = Vector2(800, 50)
layout_mode = 2
size_flags_vertical = 3
mouse_filter = 1
theme_override_colors/default_color = Color(0.737255, 0.705882, 0.690196, 1)
theme_override_fonts/normal_font = ExtResource("3_bc8ok")
@@ -138,8 +138,9 @@ text = "Character"
fit_content = true
scroll_active = false
[node name="DialogueLabel" parent="Balloon/CenterContainer2/Dialogue/VBoxContainer" instance=ExtResource("2_jm6sr")]
[node name="DialogueLabel" parent="Balloon/Dialogue/VBoxContainer" instance=ExtResource("2_jm6sr")]
unique_name_in_owner = true
custom_minimum_size = Vector2(800, 200)
layout_mode = 2
size_flags_vertical = 3
theme_override_fonts/normal_font = ExtResource("2_c4c1f")
@@ -151,7 +152,7 @@ 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
skip_action = &"ui_accept"
[node name="CenterContainer" type="CenterContainer" parent="Balloon"]
layout_mode = 1