The players' pictures sit on the right in even lines of at most four, each ending at the row's right edge, so five pictures are 3 + 2 and seven 4 + 3. The text takes the room they leave and wraps only when it does not fit, and the row is as tall as the taller of the two, instead of a width fixed by the number of pictures. Rows are rounded and alternate like the other lists, are highlighted under the mouse, and the playing song has an orange edge. Clicking a picture clicks its song.
25 lines
826 B
Plaintext
25 lines
826 B
Plaintext
[gd_scene format=3]
|
|
|
|
[ext_resource type="Script" path="res://quiz/music_list_panel.gd" id="part_script"]
|
|
[ext_resource type="Script" uid="uid://gf1bk6xbe3j" path="res://quiz/scroll_to_end_container.gd" id="7_dj026"]
|
|
|
|
[node name="MusicListPanel" type="PanelContainer" unique_id=2011292375]
|
|
layout_mode = 3
|
|
offset_right = 1088.0
|
|
offset_bottom = 512.0
|
|
theme_type_variation = &"MusicList"
|
|
script = ExtResource("part_script")
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="." unique_id=707750459]
|
|
layout_mode = 2
|
|
follow_focus = true
|
|
horizontal_scroll_mode = 0
|
|
script = ExtResource("7_dj026")
|
|
|
|
[node name="MusicList" type="VBoxContainer" parent="ScrollContainer" unique_id=373398568]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_constants/separation = 4
|