mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-08 20:57:13 +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:
@@ -1,18 +1,20 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://cw5ip3rw4r3pp"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://cw5ip3rw4r3pp"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Statemachine/FieldShow.gd" id="1_gwocj"]
|
||||
[ext_resource type="Theme" uid="uid://b6nox1qqh50ub" path="res://themes/smallText.tres" id="2_x62bb"]
|
||||
|
||||
[node name="FieldShow" type="HBoxContainer"]
|
||||
script = ExtResource("1_gwocj")
|
||||
value = "0"
|
||||
|
||||
[node name="name" type="Label" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_x62bb")
|
||||
text = "最大生命值"
|
||||
|
||||
[node name="value" type="Label" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 10
|
||||
theme = ExtResource("2_x62bb")
|
||||
text = "0"
|
||||
|
||||
Reference in New Issue
Block a user