Edit dialogue balloons
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=20 format=3 uid="uid://drrynjlwqt8wi"]
|
||||
[gd_scene load_steps=21 format=3 uid="uid://drrynjlwqt8wi"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://5b3w40kwakl3" path="res://addons/dialogue_manager/example_balloon/ExampleBalloon.cs" id="1_okfmu"]
|
||||
[ext_resource type="FontFile" uid="uid://dit3vylt7hmmx" path="res://src/ui/fonts/FT88-Regular.ttf" id="2_c4c1f"]
|
||||
@@ -70,6 +70,8 @@ MarginContainer/constants/margin_right = 30
|
||||
MarginContainer/constants/margin_top = 15
|
||||
Panel/styles/panel = SubResource("StyleBoxFlat_uy0d5")
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_g5mp8"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_8reha"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_cb5sp"]
|
||||
@@ -104,36 +106,31 @@ grow_vertical = 2
|
||||
theme = SubResource("Theme_qq3yp")
|
||||
|
||||
[node name="Panel" type="Panel" parent="Balloon"]
|
||||
custom_minimum_size = Vector2(1000, 300)
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxEmpty_g5mp8")
|
||||
|
||||
[node name="Dialogue" type="AspectRatioContainer" parent="Balloon/Panel"]
|
||||
custom_minimum_size = Vector2(500, 250)
|
||||
layout_mode = 1
|
||||
anchors_preset = 12
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = -301.0
|
||||
offset_bottom = -25.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
size_flags_vertical = 3
|
||||
alignment_vertical = 2
|
||||
[node name="MarginContainer" type="MarginContainer" parent="Balloon/Panel"]
|
||||
layout_mode = 2
|
||||
offset_top = 780.0
|
||||
offset_right = 1920.0
|
||||
offset_bottom = 1080.0
|
||||
theme_override_constants/margin_left = 150
|
||||
theme_override_constants/margin_top = 50
|
||||
theme_override_constants/margin_right = 50
|
||||
theme_override_constants/margin_bottom = 50
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Balloon/Panel/Dialogue"]
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Balloon/Panel/MarginContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="CharacterLabel" type="RichTextLabel" parent="Balloon/Panel/Dialogue/VBoxContainer"]
|
||||
[node name="CharacterLabel" type="RichTextLabel" parent="Balloon/Panel/MarginContainer/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
modulate = Color(1, 1, 1, 0.501961)
|
||||
custom_minimum_size = Vector2(800, 60)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 10
|
||||
mouse_filter = 1
|
||||
@@ -149,9 +146,8 @@ bbcode_enabled = true
|
||||
text = "Character"
|
||||
fit_content = true
|
||||
scroll_active = false
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="DialogueLabel" parent="Balloon/Panel/Dialogue/VBoxContainer" instance=ExtResource("2_jm6sr")]
|
||||
[node name="DialogueLabel" parent="Balloon/Panel/MarginContainer/VBoxContainer" instance=ExtResource("2_jm6sr")]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(800, 200)
|
||||
layout_mode = 2
|
||||
|
||||
Reference in New Issue
Block a user