Reviewed-on: #7 Co-authored-by: Vladimir nett00n Budylnikov <git@nett00n.org> Co-committed-by: Vladimir nett00n Budylnikov <git@nett00n.org>
27 lines
797 B
Plaintext
27 lines
797 B
Plaintext
[gd_scene load_steps=2 format=3 uid="uid://cb6k05r8t7l4l"]
|
|
|
|
[ext_resource type="Script" path="res://scenes/ui/components/ValueStepper.gd" id="1_value_stepper"]
|
|
|
|
[node name="ValueStepper" type="HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 4
|
|
script = ExtResource("1_value_stepper")
|
|
|
|
[node name="LeftButton" type="Button" parent="."]
|
|
layout_mode = 2
|
|
text = "<"
|
|
|
|
[node name="ValueDisplay" type="Label" parent="."]
|
|
custom_minimum_size = Vector2(100, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "Value"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="RightButton" type="Button" parent="."]
|
|
layout_mode = 2
|
|
text = ">"
|
|
|
|
[connection signal="pressed" from="LeftButton" to="." method="_on_left_button_pressed"]
|
|
[connection signal="pressed" from="RightButton" to="." method="_on_right_button_pressed"]
|