Made quest visuals
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://1iqqwh7d6xoh"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://1iqqwh7d6xoh"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dwhee40ksubke" path="res://scripts/CSharp/Common/Quest/QuestListItemUi.cs" id="1_svwef"]
|
||||
[ext_resource type="Texture2D" uid="uid://cvu5dybw31uxn" path="res://art/ui/UI/Circle.png" id="2_qlq3v"]
|
||||
|
||||
[node name="QuestListItem" type="Control"]
|
||||
custom_minimum_size = Vector2(0, 30)
|
||||
custom_minimum_size = Vector2(0, 40)
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
anchors_preset = 0
|
||||
offset_right = 300.0
|
||||
offset_bottom = 30.0
|
||||
script = ExtResource("1_svwef")
|
||||
|
||||
[node name="TitleButton" type="Button" parent="."]
|
||||
@@ -19,6 +18,50 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "Hello world"
|
||||
flat = true
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="TitleButton"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="TitleButton/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 30
|
||||
theme_override_constants/margin_top = 0
|
||||
theme_override_constants/margin_right = 30
|
||||
theme_override_constants/margin_bottom = 0
|
||||
|
||||
[node name="DotText" type="Label" parent="TitleButton/HBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 1
|
||||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
theme_override_font_sizes/font_size = 17
|
||||
text = "•"
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="TitleText" type="Label" parent="TitleButton/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(200, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
theme_override_font_sizes/font_size = 17
|
||||
text = "Switch to Unity"
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="Circled" type="TextureRect" parent="TitleButton"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("2_qlq3v")
|
||||
|
||||
[connection signal="pressed" from="TitleButton" to="." method="ClickedTitleButton"]
|
||||
|
||||
Reference in New Issue
Block a user