Prevent keyboard buttons from being focused
This commit is contained in:
parent
c81b4e86c3
commit
0daac1d989
1 changed files with 28 additions and 0 deletions
|
@ -96,6 +96,7 @@ size_flags_horizontal = 4
|
|||
margin_right = 50.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "Q"
|
||||
|
||||
[node name="ButtonW" type="Button" parent="C/V/V/HRow1"]
|
||||
|
@ -103,6 +104,7 @@ margin_left = 54.0
|
|||
margin_right = 104.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "W"
|
||||
|
||||
[node name="ButtonE" type="Button" parent="C/V/V/HRow1"]
|
||||
|
@ -110,6 +112,7 @@ margin_left = 108.0
|
|||
margin_right = 158.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "E"
|
||||
|
||||
[node name="ButtonR" type="Button" parent="C/V/V/HRow1"]
|
||||
|
@ -117,6 +120,7 @@ margin_left = 162.0
|
|||
margin_right = 212.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "R"
|
||||
|
||||
[node name="ButtonT" type="Button" parent="C/V/V/HRow1"]
|
||||
|
@ -124,6 +128,7 @@ margin_left = 216.0
|
|||
margin_right = 266.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "T"
|
||||
|
||||
[node name="ButtonY" type="Button" parent="C/V/V/HRow1"]
|
||||
|
@ -131,6 +136,7 @@ margin_left = 270.0
|
|||
margin_right = 320.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "Y"
|
||||
|
||||
[node name="ButtonU" type="Button" parent="C/V/V/HRow1"]
|
||||
|
@ -138,6 +144,7 @@ margin_left = 324.0
|
|||
margin_right = 374.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "U"
|
||||
|
||||
[node name="ButtonI" type="Button" parent="C/V/V/HRow1"]
|
||||
|
@ -145,6 +152,7 @@ margin_left = 378.0
|
|||
margin_right = 428.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "I"
|
||||
|
||||
[node name="ButtonO" type="Button" parent="C/V/V/HRow1"]
|
||||
|
@ -152,6 +160,7 @@ margin_left = 432.0
|
|||
margin_right = 482.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "O"
|
||||
|
||||
[node name="ButtonP" type="Button" parent="C/V/V/HRow1"]
|
||||
|
@ -159,6 +168,7 @@ margin_left = 486.0
|
|||
margin_right = 536.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "P"
|
||||
|
||||
[node name="HRow2" type="HBoxContainer" parent="C/V/V"]
|
||||
|
@ -172,6 +182,7 @@ size_flags_horizontal = 4
|
|||
margin_right = 50.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "A"
|
||||
|
||||
[node name="ButtonS" type="Button" parent="C/V/V/HRow2"]
|
||||
|
@ -179,6 +190,7 @@ margin_left = 54.0
|
|||
margin_right = 104.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "S"
|
||||
|
||||
[node name="ButtonD" type="Button" parent="C/V/V/HRow2"]
|
||||
|
@ -186,6 +198,7 @@ margin_left = 108.0
|
|||
margin_right = 158.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "D"
|
||||
|
||||
[node name="ButtonF" type="Button" parent="C/V/V/HRow2"]
|
||||
|
@ -193,6 +206,7 @@ margin_left = 162.0
|
|||
margin_right = 212.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "F"
|
||||
|
||||
[node name="ButtonG" type="Button" parent="C/V/V/HRow2"]
|
||||
|
@ -200,6 +214,7 @@ margin_left = 216.0
|
|||
margin_right = 266.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "G"
|
||||
|
||||
[node name="ButtonH" type="Button" parent="C/V/V/HRow2"]
|
||||
|
@ -207,6 +222,7 @@ margin_left = 270.0
|
|||
margin_right = 320.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "H"
|
||||
|
||||
[node name="ButtonJ" type="Button" parent="C/V/V/HRow2"]
|
||||
|
@ -214,6 +230,7 @@ margin_left = 324.0
|
|||
margin_right = 374.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "J"
|
||||
|
||||
[node name="ButtonK" type="Button" parent="C/V/V/HRow2"]
|
||||
|
@ -221,6 +238,7 @@ margin_left = 378.0
|
|||
margin_right = 428.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "K"
|
||||
|
||||
[node name="ButtonL" type="Button" parent="C/V/V/HRow2"]
|
||||
|
@ -228,6 +246,7 @@ margin_left = 432.0
|
|||
margin_right = 482.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "L"
|
||||
|
||||
[node name="HRow3" type="HBoxContainer" parent="C/V/V"]
|
||||
|
@ -241,6 +260,7 @@ size_flags_horizontal = 4
|
|||
margin_right = 50.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "Z"
|
||||
|
||||
[node name="ButtonX" type="Button" parent="C/V/V/HRow3"]
|
||||
|
@ -248,6 +268,7 @@ margin_left = 54.0
|
|||
margin_right = 104.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "X"
|
||||
|
||||
[node name="ButtonC" type="Button" parent="C/V/V/HRow3"]
|
||||
|
@ -255,6 +276,7 @@ margin_left = 108.0
|
|||
margin_right = 158.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "C"
|
||||
|
||||
[node name="ButtonV" type="Button" parent="C/V/V/HRow3"]
|
||||
|
@ -262,6 +284,7 @@ margin_left = 162.0
|
|||
margin_right = 212.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "V"
|
||||
|
||||
[node name="ButtonB" type="Button" parent="C/V/V/HRow3"]
|
||||
|
@ -269,6 +292,7 @@ margin_left = 216.0
|
|||
margin_right = 266.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "B"
|
||||
|
||||
[node name="ButtonN" type="Button" parent="C/V/V/HRow3"]
|
||||
|
@ -276,6 +300,7 @@ margin_left = 270.0
|
|||
margin_right = 320.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "N"
|
||||
|
||||
[node name="ButtonM" type="Button" parent="C/V/V/HRow3"]
|
||||
|
@ -283,6 +308,7 @@ margin_left = 324.0
|
|||
margin_right = 374.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "M"
|
||||
|
||||
[node name="ButtonBksp" type="Button" parent="C/V/V/HRow3"]
|
||||
|
@ -290,6 +316,7 @@ margin_left = 378.0
|
|||
margin_right = 470.0
|
||||
margin_bottom = 47.0
|
||||
rect_min_size = Vector2( 50, 0 )
|
||||
focus_mode = 0
|
||||
text = "bksp"
|
||||
|
||||
[node name="GuessButton" type="Button" parent="C/V/V"]
|
||||
|
@ -297,6 +324,7 @@ margin_left = 205.0
|
|||
margin_top = 153.0
|
||||
margin_right = 330.0
|
||||
margin_bottom = 205.0
|
||||
focus_mode = 0
|
||||
size_flags_horizontal = 4
|
||||
custom_fonts/font = SubResource( 5 )
|
||||
text = "Guess"
|
||||
|
|
Loading…
Reference in a new issue