refactoring UI
This commit was merged in pull request #26.
This commit is contained in:
@@ -2,12 +2,13 @@
|
||||
|
||||
[ext_resource type="Script" uid="uid://k4iqrlkbjppl" path="res://core/game_menu/photo_gallery.gd" id="1_bp5uf"]
|
||||
[ext_resource type="PackedScene" uid="uid://cvus62qkop3qi" path="res://core/game_menu/photo.tscn" id="2_45wok"]
|
||||
[ext_resource type="PackedScene" uid="uid://dxun0jk5t0n6" path="res://core/tween/container_tween.tscn" id="3_ht2y6"]
|
||||
|
||||
[node name="PhotoGallery" type="Control" unique_id=354419843]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 600.0
|
||||
offset_bottom = 420.0
|
||||
offset_bottom = 440.0
|
||||
mouse_filter = 2
|
||||
script = ExtResource("1_bp5uf")
|
||||
photo_scene = ExtResource("2_45wok")
|
||||
@@ -21,35 +22,40 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
draw_focus_border = true
|
||||
|
||||
[node name="PhotoGrid" type="GridContainer" parent="ScrollContainer" unique_id=1187865988]
|
||||
unique_name_in_owner = true
|
||||
[node name="MarginContainer" type="MarginContainer" parent="ScrollContainer" unique_id=934979837]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 6
|
||||
size_flags_vertical = 6
|
||||
theme_override_constants/margin_left = 32
|
||||
theme_override_constants/margin_top = 32
|
||||
theme_override_constants/margin_right = 32
|
||||
theme_override_constants/margin_bottom = 33
|
||||
|
||||
[node name="PhotoGrid" type="GridContainer" parent="ScrollContainer/MarginContainer" unique_id=1187865988]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_constants/h_separation = 44
|
||||
theme_override_constants/v_separation = 54
|
||||
columns = 3
|
||||
|
||||
[node name="Photo" parent="ScrollContainer/PhotoGrid" unique_id=201865221 instance=ExtResource("2_45wok")]
|
||||
custom_minimum_size = Vector2(132, 154)
|
||||
[node name="Photo" parent="ScrollContainer/MarginContainer/PhotoGrid" unique_id=201865221 instance=ExtResource("2_45wok")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Photo2" parent="ScrollContainer/PhotoGrid" unique_id=427039285 instance=ExtResource("2_45wok")]
|
||||
custom_minimum_size = Vector2(132, 154)
|
||||
[node name="Photo2" parent="ScrollContainer/MarginContainer/PhotoGrid" unique_id=427039285 instance=ExtResource("2_45wok")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Photo3" parent="ScrollContainer/PhotoGrid" unique_id=800591401 instance=ExtResource("2_45wok")]
|
||||
custom_minimum_size = Vector2(132, 154)
|
||||
[node name="Photo3" parent="ScrollContainer/MarginContainer/PhotoGrid" unique_id=800591401 instance=ExtResource("2_45wok")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Photo4" parent="ScrollContainer/PhotoGrid" unique_id=1895298585 instance=ExtResource("2_45wok")]
|
||||
custom_minimum_size = Vector2(132, 154)
|
||||
[node name="Photo4" parent="ScrollContainer/MarginContainer/PhotoGrid" unique_id=1895298585 instance=ExtResource("2_45wok")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Photo5" parent="ScrollContainer/PhotoGrid" unique_id=2093353381 instance=ExtResource("2_45wok")]
|
||||
custom_minimum_size = Vector2(132, 154)
|
||||
[node name="Photo5" parent="ScrollContainer/MarginContainer/PhotoGrid" unique_id=2093353381 instance=ExtResource("2_45wok")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Photo6" parent="ScrollContainer/PhotoGrid" unique_id=316021755 instance=ExtResource("2_45wok")]
|
||||
custom_minimum_size = Vector2(132, 154)
|
||||
[node name="Photo6" parent="ScrollContainer/MarginContainer/PhotoGrid" unique_id=316021755 instance=ExtResource("2_45wok")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ContainerTween" parent="." unique_id=160227524 node_paths=PackedStringArray("runtime_target_parent") instance=ExtResource("3_ht2y6")]
|
||||
unique_name_in_owner = true
|
||||
runtime_target_parent = NodePath("../ScrollContainer/MarginContainer/PhotoGrid")
|
||||
|
||||
Reference in New Issue
Block a user