gd: added input addon
This commit is contained in:
36
addons/guide/ui/renderers/keyboard/key_renderer.tscn
Normal file
36
addons/guide/ui/renderers/keyboard/key_renderer.tscn
Normal file
@ -0,0 +1,36 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://toty2e3yx26l"]
|
||||
|
||||
[ext_resource type="Script" path="res://addons/guide/ui/renderers/keyboard/key_renderer.gd" id="1_tm2sd"]
|
||||
[ext_resource type="Texture2D" uid="uid://b3x586os8uuwb" path="res://addons/guide/ui/renderers/keyboard/icons/Blank_White_Normal.png" id="2_myc15"]
|
||||
[ext_resource type="FontFile" uid="uid://cu8bvod6tnnwr" path="res://addons/guide/ui/renderers/keyboard/Lato-Black.ttf" id="3_d3uds"]
|
||||
|
||||
[node name="KeyRenderer" type="MarginContainer"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
offset_right = 267.0
|
||||
offset_bottom = 100.0
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 0
|
||||
script = ExtResource("1_tm2sd")
|
||||
|
||||
[node name="NinePatchRect" type="NinePatchRect" parent="."]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_myc15")
|
||||
region_rect = Rect2(10, 10, 80, 80)
|
||||
patch_margin_left = 29
|
||||
patch_margin_top = 30
|
||||
patch_margin_right = 29
|
||||
patch_margin_bottom = 29
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 30
|
||||
theme_override_constants/margin_right = 30
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.25098, 0.25098, 0.25098, 1)
|
||||
theme_override_fonts/font = ExtResource("3_d3uds")
|
||||
theme_override_font_sizes/font_size = 45
|
||||
text = "Long Long Long"
|
||||
horizontal_alignment = 1
|
Reference in New Issue
Block a user