Add NotificationLabel styling and manage miracles in hand
This commit is contained in:
@@ -1,10 +1,42 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://crpf0llofg0sc"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://crpf0llofg0sc"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://drx8lqcjq5khj" path="res://Scripts/NotificationLabel.cs" id="1_x4sn4"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_4bx8n"]
|
||||
bg_color = Color(0.187176, 0.187176, 0.187176, 1)
|
||||
border_width_left = 1
|
||||
border_width_top = 1
|
||||
border_width_right = 1
|
||||
border_width_bottom = 1
|
||||
border_color = Color(1, 0.759215, 0.00113704, 1)
|
||||
corner_radius_top_left = 2
|
||||
corner_radius_top_right = 2
|
||||
corner_radius_bottom_right = 2
|
||||
corner_radius_bottom_left = 2
|
||||
|
||||
[node name="NotificationLabel" type="Label"]
|
||||
offset_right = 40.0
|
||||
offset_bottom = 23.0
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -20.0
|
||||
offset_top = -11.5
|
||||
offset_right = 20.0
|
||||
offset_bottom = 11.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
script = ExtResource("1_x4sn4")
|
||||
|
||||
[node name="Panel" type="Panel" parent="."]
|
||||
z_index = -1
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_4bx8n")
|
||||
metadata/_edit_group_ = true
|
||||
|
Reference in New Issue
Block a user