1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

Add HarmonyOS Sans font and implement QuickUI for text handling

- Imported HarmonyOS Sans Regular font with appropriate settings for rendering and fallback.
- Created QuickUI script to facilitate the creation of small text labels with optional centering.
- Added new theme resources for big bold text and small text, defining font sizes for RichTextLabel and Label respectively.
This commit is contained in:
2025-08-26 19:35:26 +08:00
parent 25497d2dd5
commit 417ca71de3
15 changed files with 179 additions and 18 deletions
+9 -5
View File
@@ -1,7 +1,7 @@
[gd_scene load_steps=4 format=3 uid="uid://b4cwipt17nh7g"]
[gd_scene load_steps=4 format=3 uid="uid://bykwevnv7keeh"]
[ext_resource type="Script" path="res://scripts/Structs/Feed.gd" id="1_2ea75"]
[ext_resource type="Texture2D" uid="uid://b7vxserbhskol" path="res://resources/feeds/banana.svg" id="1_jonms"]
[ext_resource type="Texture2D" uid="uid://dwwpkn4q07ja2" path="res://icon.svg" id="2_b6x2s"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_n2ewr"]
content_margin_left = 30.0
@@ -39,13 +39,17 @@ custom_minimum_size = Vector2(75, 75)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
texture = ExtResource("1_jonms")
texture = ExtResource("2_b6x2s")
expand_mode = 1
[node name="name" type="Label" parent="container/info"]
[node name="name" type="RichTextLabel" parent="container/info"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 4
text = "未命名饲料"
bbcode_enabled = true
text = "[b]未命名饲料[/b]"
fit_content = true
autowrap_mode = 0
[node name="fields" type="VBoxContainer" parent="container"]
unique_name_in_owner = true