clean up keyboard

This commit is contained in:
Crispy 2022-01-23 18:07:52 +01:00
parent e6e003ca51
commit f892d4892b
6 changed files with 17 additions and 6 deletions

View file

@ -1,9 +1,14 @@
[gd_scene format=2]
[gd_scene load_steps=2 format=2]
[node name="Key" type="Button"]
margin_right = 128.0
margin_bottom = 128.0
rect_min_size = Vector2( 128, 128 )
[ext_resource path="res://overlay_resources/keyboard/keyboard.theme" type="Theme" id=1]
[node name="Btn" type="Button"]
margin_top = 993.0
margin_right = 78.0
margin_bottom = 1054.0
rect_min_size = Vector2( 100, 100 )
rect_pivot_offset = Vector2( 50, 50 )
theme = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
@ -11,4 +16,8 @@ __meta__ = {
[node name="Label" type="Label" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
text = "Key"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}

View file

@ -3,6 +3,7 @@
[node name="KeyRow" type="HBoxContainer"]
margin_right = 230.0
margin_bottom = 128.0
custom_constants/separation = 0
__meta__ = {
"_edit_use_anchors_": false
}

View file

@ -345,7 +345,7 @@
{
"keycode": "MENU",
"display": "Menu",
"width": 1.5
"width": 1.25
},
{
"keycode": "CONTROL_R",

View file

@ -48,6 +48,7 @@ margin_right = 8.0
margin_bottom = 8.0
size_flags_horizontal = 0
size_flags_vertical = 0
custom_constants/separation = 0
alignment = 1
__meta__ = {
"_edit_use_anchors_": false