diff --git a/src/overlay_resources/keyboard/KeyBtn.tscn b/src/overlay_resources/keyboard/KeyBtn.tscn index 3ad2010..a932e17 100644 --- a/src/overlay_resources/keyboard/KeyBtn.tscn +++ b/src/overlay_resources/keyboard/KeyBtn.tscn @@ -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 +} diff --git a/src/overlay_resources/keyboard/KeyRow.tscn b/src/overlay_resources/keyboard/KeyRow.tscn index 48e2e2b..08125f2 100644 --- a/src/overlay_resources/keyboard/KeyRow.tscn +++ b/src/overlay_resources/keyboard/KeyRow.tscn @@ -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 } diff --git a/src/overlay_resources/keyboard/key_normal.stylebox b/src/overlay_resources/keyboard/key_normal.stylebox index c49a556..c01042e 100644 Binary files a/src/overlay_resources/keyboard/key_normal.stylebox and b/src/overlay_resources/keyboard/key_normal.stylebox differ diff --git a/src/overlay_resources/keyboard/key_pressed.stylebox b/src/overlay_resources/keyboard/key_pressed.stylebox index 572678f..ec6842b 100644 Binary files a/src/overlay_resources/keyboard/key_pressed.stylebox and b/src/overlay_resources/keyboard/key_pressed.stylebox differ diff --git a/src/overlay_resources/keyboard/layouts/layout_se.json b/src/overlay_resources/keyboard/layouts/layout_se.json index 71ee497..fd2ebb0 100644 --- a/src/overlay_resources/keyboard/layouts/layout_se.json +++ b/src/overlay_resources/keyboard/layouts/layout_se.json @@ -345,7 +345,7 @@ { "keycode": "MENU", "display": "Menu", - "width": 1.5 + "width": 1.25 }, { "keycode": "CONTROL_R", diff --git a/src/overlays/KeyboardOverlay.tscn b/src/overlays/KeyboardOverlay.tscn index e0201ef..1f03351 100644 --- a/src/overlays/KeyboardOverlay.tscn +++ b/src/overlays/KeyboardOverlay.tscn @@ -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