mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-09 13:17:12 +08:00
refactor(UI): 调整场景布局和文本内容
- 统一多个场景的容器对齐方式 - 修改MakeFeed面板的文本描述和按钮布局 - 优化ItemShow组件的属性和动画资源引用
This commit is contained in:
@@ -1,34 +1,41 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://1n28ji5sl6bx"]
|
||||
[gd_scene format=3 uid="uid://1n28ji5sl6bx"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://d3qojeqa3difn" path="res://components/Abstracts/FullscreenPanelBase.tscn" id="1_1wmro"]
|
||||
[ext_resource type="Script" path="res://scripts/Contents/Panels/MakeFeed.gd" id="2_pr610"]
|
||||
[ext_resource type="Script" uid="uid://cegfj4bplbf08" path="res://scripts/Contents/Panels/MakeFeed.gd" id="2_pr610"]
|
||||
[ext_resource type="Theme" uid="uid://dhvs6urgf6jr5" path="res://themes/main.tres" id="3_q1rym"]
|
||||
[ext_resource type="PackedScene" uid="uid://bbm8l3hr4ihar" path="res://components/UI/ItemShow.tscn" id="4_kei5t"]
|
||||
|
||||
[node name="MakeFeed" instance=ExtResource("1_1wmro")]
|
||||
[sub_resource type="StyleBoxLine" id="StyleBoxLine_6fisa"]
|
||||
color = Color(1, 1, 1, 1)
|
||||
thickness = 2
|
||||
vertical = true
|
||||
|
||||
[node name="MakeFeed" unique_id=1787274994 instance=ExtResource("1_1wmro")]
|
||||
offset_top = 0.0
|
||||
offset_bottom = 0.0
|
||||
script = ExtResource("2_pr610")
|
||||
|
||||
[node name="wrapper" parent="content" index="1"]
|
||||
theme_override_constants/separation = 50
|
||||
|
||||
[node name="tips" type="VBoxContainer" parent="content/wrapper" index="0"]
|
||||
[node name="tips" type="VBoxContainer" parent="content/wrapper" index="0" unique_id=634791755]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="title" type="RichTextLabel" parent="content/wrapper/tips" index="0"]
|
||||
[node name="title" type="RichTextLabel" parent="content/wrapper/tips" index="0" unique_id=319665190]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_font_sizes/bold_font_size = 30
|
||||
bbcode_enabled = true
|
||||
text = "[b]天降鸡饲料[/b]"
|
||||
text = "[b]下一波敌人即将来袭...[/b]"
|
||||
fit_content = true
|
||||
autowrap_mode = 0
|
||||
|
||||
[node name="tip" type="HBoxContainer" parent="content/wrapper/tips" index="1"]
|
||||
[node name="tip" type="HBoxContainer" parent="content/wrapper/tips" index="1" unique_id=1194561455]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="before" type="RichTextLabel" parent="content/wrapper/tips/tip" index="0"]
|
||||
[node name="before" type="RichTextLabel" parent="content/wrapper/tips/tip" index="0" unique_id=1833472880]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
@@ -37,7 +44,7 @@ text = "在第"
|
||||
fit_content = true
|
||||
autowrap_mode = 0
|
||||
|
||||
[node name="wave" type="RichTextLabel" parent="content/wrapper/tips/tip" index="1"]
|
||||
[node name="wave" type="RichTextLabel" parent="content/wrapper/tips/tip" index="1" unique_id=1568052776]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
@@ -47,16 +54,16 @@ text = "0"
|
||||
fit_content = true
|
||||
autowrap_mode = 0
|
||||
|
||||
[node name="select" type="RichTextLabel" parent="content/wrapper/tips/tip" index="2"]
|
||||
[node name="select" type="RichTextLabel" parent="content/wrapper/tips/tip" index="2" unique_id=1049971074]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
bbcode_enabled = true
|
||||
text = "波开始前可选择"
|
||||
text = "波开始前可购买"
|
||||
fit_content = true
|
||||
autowrap_mode = 0
|
||||
|
||||
[node name="count" type="RichTextLabel" parent="content/wrapper/tips/tip" index="3"]
|
||||
[node name="count" type="RichTextLabel" parent="content/wrapper/tips/tip" index="3" unique_id=661675747]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
@@ -66,7 +73,7 @@ text = "0"
|
||||
fit_content = true
|
||||
autowrap_mode = 0
|
||||
|
||||
[node name="feed" type="RichTextLabel" parent="content/wrapper/tips/tip" index="4"]
|
||||
[node name="feed" type="RichTextLabel" parent="content/wrapper/tips/tip" index="4" unique_id=649638622]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
@@ -75,33 +82,45 @@ text = "项增益"
|
||||
fit_content = true
|
||||
autowrap_mode = 0
|
||||
|
||||
[node name="skipBtn" type="Button" parent="content/wrapper/tips/tip" index="5"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme = ExtResource("3_q1rym")
|
||||
text = "跳过"
|
||||
|
||||
[node name="refreshBtn" type="Button" parent="content/wrapper/tips/tip" index="6"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme = ExtResource("3_q1rym")
|
||||
text = "刷新"
|
||||
|
||||
[node name="needBB" parent="content/wrapper/tips/tip" index="7" instance=ExtResource("4_kei5t")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
|
||||
[node name="feedcards" type="HBoxContainer" parent="content/wrapper" index="1"]
|
||||
[node name="feedcards" type="HBoxContainer" parent="content/wrapper" index="1" unique_id=146747870]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 30
|
||||
alignment = 1
|
||||
|
||||
[node name="avaliableFeeds" type="Node2D" parent="content/wrapper" index="2"]
|
||||
[node name="control" type="HBoxContainer" parent="content/wrapper" index="2" unique_id=1940955559]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 15
|
||||
alignment = 1
|
||||
|
||||
[node name="skipBtn" type="Button" parent="content/wrapper/control" index="0" unique_id=861602358]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme = ExtResource("3_q1rym")
|
||||
text = "离开商店"
|
||||
|
||||
[node name="VSeparator" type="VSeparator" parent="content/wrapper/control" index="1" unique_id=307265805]
|
||||
layout_mode = 2
|
||||
theme_override_styles/separator = SubResource("StyleBoxLine_6fisa")
|
||||
|
||||
[node name="refresh" type="HBoxContainer" parent="content/wrapper/control" index="2" unique_id=849141605]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="refreshBtn" type="Button" parent="content/wrapper/control/refresh" index="0" unique_id=407207523]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme = ExtResource("3_q1rym")
|
||||
text = "重新进货"
|
||||
|
||||
[node name="needBB" parent="content/wrapper/control/refresh" index="1" unique_id=1875940916 instance=ExtResource("4_kei5t")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
|
||||
[node name="avaliableFeeds" type="Node2D" parent="content/wrapper" index="3" unique_id=207293318]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
|
||||
@@ -256,6 +256,7 @@ theme_override_styles/panel = ExtResource("7_kl3ko")
|
||||
[node name="starter" type="VBoxContainer" parent="content/wrapper/layout/startGameWrapper/start" index="0" unique_id=2056064159]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 30
|
||||
alignment = 1
|
||||
|
||||
[node name="singleplayer" type="VBoxContainer" parent="content/wrapper/layout/startGameWrapper/start/starter" index="0" unique_id=1117567773]
|
||||
layout_mode = 2
|
||||
|
||||
Reference in New Issue
Block a user