Buttons get 12 px of side padding. The top bar buttons, the quiz toolbar and Show answer/Next are laid out in rows with 12 px gaps and are all 36 px tall, and the ±1 buttons use a compact StepButton style. "Randomize new track" is now "Next song". Player rows show the name and the score apart, alternate like the other lists and highlight the character under the mouse. The name field is a LineEdit with a 10-letter limit; blank and duplicate names are refused, and a full list says "Up to 7 players". Remove buttons update when editing is switched instead of every frame, and the spacer panels are gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
44 lines
1.1 KiB
Plaintext
44 lines
1.1 KiB
Plaintext
[gd_scene format=3]
|
|
|
|
[ext_resource type="Script" path="res://quiz/song_controls.gd" id="part_script"]
|
|
|
|
[sub_resource type="InputEventKey" id="InputEventKey_06rl4"]
|
|
device = -1
|
|
alt_pressed = true
|
|
keycode = 86
|
|
unicode = 8249
|
|
|
|
[sub_resource type="Shortcut" id="Shortcut_a7fvb"]
|
|
events = [SubResource("InputEventKey_06rl4")]
|
|
|
|
[sub_resource type="InputEventKey" id="InputEventKey_7dnqw"]
|
|
device = -1
|
|
alt_pressed = true
|
|
keycode = 67
|
|
unicode = 231
|
|
|
|
[sub_resource type="Shortcut" id="Shortcut_d6fml"]
|
|
events = [SubResource("InputEventKey_7dnqw")]
|
|
|
|
[node name="SongControls" type="HBoxContainer" unique_id=1640212773]
|
|
layout_mode = 3
|
|
mouse_filter = 2
|
|
theme_override_constants/separation = 12
|
|
alignment = 0
|
|
script = ExtResource("part_script")
|
|
|
|
[node name="ShowAnswerButton" type="Button" parent="." unique_id=415388039]
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
shortcut = SubResource("Shortcut_a7fvb")
|
|
text = "Show answer"
|
|
|
|
[node name="NextButton" type="Button" parent="." unique_id=1744703488]
|
|
layout_mode = 2
|
|
focus_mode = 0
|
|
disabled = true
|
|
action_mode = 0
|
|
shortcut = SubResource("Shortcut_d6fml")
|
|
text = "Next song"
|