Improve CCS dialogue layout
This commit is contained in:
@@ -105,12 +105,12 @@ antialiased = true
|
||||
z_index = 30
|
||||
layout_mode = 1
|
||||
anchors_preset = 0
|
||||
anchor_left = 0.51
|
||||
anchor_top = 0.055
|
||||
anchor_right = 0.51
|
||||
anchor_bottom = 0.055
|
||||
offset_right = 420.0
|
||||
offset_bottom = 140.0
|
||||
anchor_left = 0.53
|
||||
anchor_top = 0.04
|
||||
anchor_right = 0.53
|
||||
anchor_bottom = 0.04
|
||||
offset_right = 650.0
|
||||
offset_bottom = 220.0
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Background" type="TextureRect" parent="DialogueBubble"]
|
||||
@@ -134,7 +134,7 @@ anchor_bottom = 1.0
|
||||
offset_left = 76.0
|
||||
offset_top = 31.0
|
||||
offset_right = -48.0
|
||||
offset_bottom = -43.0
|
||||
offset_bottom = -31.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_colors/font_color = Color(0.055, 0.105, 0.145, 1)
|
||||
@@ -143,17 +143,56 @@ text = "Hello, doctor."
|
||||
autowrap_mode = 2
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="DialogueChoices" type="GridContainer" parent="."]
|
||||
[node name="DialogueChoiceArea" type="Control" parent="."]
|
||||
z_index = 29
|
||||
layout_mode = 1
|
||||
anchors_preset = 0
|
||||
anchor_left = 0.5
|
||||
anchors_preset = 12
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -450.0
|
||||
offset_top = -206.0
|
||||
offset_right = 450.0
|
||||
offset_left = 18.0
|
||||
offset_top = -194.0
|
||||
offset_right = -18.0
|
||||
offset_bottom = -4.0
|
||||
theme_override_constants/separation = -8
|
||||
columns = 2
|
||||
|
||||
[node name="ChoicePager" type="HBoxContainer" parent="DialogueChoiceArea"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 10
|
||||
anchor_right = 1.0
|
||||
offset_bottom = 42.0
|
||||
grow_horizontal = 2
|
||||
theme_override_constants/separation = 12
|
||||
alignment = 1
|
||||
|
||||
[node name="Previous" type="Button" parent="DialogueChoiceArea/ChoicePager"]
|
||||
custom_minimum_size = Vector2(108, 38)
|
||||
layout_mode = 2
|
||||
text = "Previous"
|
||||
|
||||
[node name="Page" type="Label" parent="DialogueChoiceArea/ChoicePager"]
|
||||
custom_minimum_size = Vector2(100, 38)
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.94, 0.95, 0.91, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0.02, 0.035, 0.05, 0.9)
|
||||
theme_override_constants/shadow_offset_x = 1
|
||||
theme_override_constants/shadow_offset_y = 2
|
||||
theme_override_font_sizes/font_size = 17
|
||||
text = "Page 1 of 2"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Next" type="Button" parent="DialogueChoiceArea/ChoicePager"]
|
||||
custom_minimum_size = Vector2(108, 38)
|
||||
layout_mode = 2
|
||||
text = "Next"
|
||||
|
||||
[node name="DialogueChoices" type="HBoxContainer" parent="DialogueChoiceArea"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = 46.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/separation = 10
|
||||
alignment = 1
|
||||
|
||||
Reference in New Issue
Block a user