startings of 0.3 and row clearing
This commit is contained in:
parent
8ee16d7d26
commit
af364d0faa
8 changed files with 99 additions and 35 deletions
|
@ -1,7 +1,8 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://dtkqaw5533rxy"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dtkqaw5533rxy"]
|
||||
|
||||
[ext_resource type="StyleBox" uid="uid://d17amc25o63p1" path="res://UI/Themes/MovementsPanelOverride.tres" id="1_d1xev"]
|
||||
[ext_resource type="Script" uid="uid://tn3aaldu7mm2" path="res://Scripts/MovementRow.gd" id="1_rm5t0"]
|
||||
[ext_resource type="Texture2D" uid="uid://cn5xdrxdv622h" path="res://UI/SmallX.png" id="2_e7anl"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rm5t0"]
|
||||
bg_color = Color(0, 1, 0, 1)
|
||||
|
@ -36,6 +37,14 @@ tooltip_text = "Click to bind a key to this movement"
|
|||
text = "0 - Name (Unbound)"
|
||||
alignment = 0
|
||||
|
||||
[node name="ClearButton" type="Button" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 244.0
|
||||
offset_top = 4.0
|
||||
offset_right = 260.0
|
||||
offset_bottom = 20.0
|
||||
icon = ExtResource("2_e7anl")
|
||||
|
||||
[node name="MovementsBG" type="Panel" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
|
@ -49,6 +58,7 @@ theme_override_styles/panel = ExtResource("1_d1xev")
|
|||
[node name="InvisibleMask" type="Control" parent="MovementsBG"]
|
||||
clip_contents = true
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 4.0
|
||||
|
@ -64,3 +74,4 @@ offset_left = 120.0
|
|||
offset_right = 120.0
|
||||
|
||||
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
|
||||
[connection signal="pressed" from="ClearButton" to="." method="_on_clear_button_pressed"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue