Files
MusicPlayer/quiz/SongRow.tscn
T
Sansan 8b71723a34
Build / test (pull_request) Successful in 31s
Build / build (pull_request) Skipped
Build / test (push) Successful in 31s
Build / build (push) Successful in 1m13s
Put the whole look into one project theme
themes/main_theme.tres is the project theme. It holds Godot's default look for
every control type the game uses, plus named styles for the game's own look
(popups, the background, spacers, list rows, title and text sizes, highlights)
and a palette for the popup dimming. Scenes and scripts name these styles
instead of setting colours, sizes or style boxes, and the five old theme files
are gone. themes/README.md explains the styles and how to make a new theme.

The screenshot tour now uses the real character pictures, so the layout
baseline is taken again. Screenshots are pixel-identical to before, and
test_theme.gd checks that the look stays in the theme.
2026-10-06 13:33:35 +02:00

64 lines
2.0 KiB
Plaintext

[gd_scene format=3 uid="uid://1jbtmhbqolqe"]
[ext_resource type="Texture2D" uid="uid://c8r7ykphss4c2" path="res://characters/Link.png" id="1_ll28s"]
[ext_resource type="Script" uid="uid://cjo13wixip8mq" path="res://quiz/song_row.gd" id="1_lspki"]
[node name="SongRow" type="PanelContainer"]
custom_minimum_size = Vector2(1000, 0)
offset_right = 1088.0
offset_bottom = 59.0
theme_type_variation = &"SongRow"
script = ExtResource("1_lspki")
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 2
size_flags_vertical = 0
[node name="SongListLabel" type="Label" parent="HBoxContainer"]
unique_name_in_owner = true
texture_filter = 2
custom_minimum_size = Vector2(865, 28)
layout_mode = 2
size_flags_horizontal = 3
mouse_filter = 1
theme_type_variation = &"SongRowLabel"
text = "Final Fantasy Dissidia 012 Duodecim (Sista Fantasin Meningsskiljaktigheter 012 Tolv) - 'Crystal Cave -arrange-'' from FINAL FANTASY III"
autowrap_mode = 2
[node name="Panel" type="Panel" parent="HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 0
[node name="SongListPlayers" type="HBoxContainer" parent="HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 0
[node name="TextureRect" type="TextureRect" parent="HBoxContainer/SongListPlayers"]
custom_minimum_size = Vector2(50, 25)
layout_mode = 2
texture = ExtResource("1_ll28s")
expand_mode = 1
stretch_mode = 5
[node name="TextureRect2" type="TextureRect" parent="HBoxContainer/SongListPlayers"]
custom_minimum_size = Vector2(50, 25)
layout_mode = 2
texture = ExtResource("1_ll28s")
expand_mode = 1
stretch_mode = 6
[node name="TextureRect3" type="TextureRect" parent="HBoxContainer/SongListPlayers"]
custom_minimum_size = Vector2(50, 25)
layout_mode = 2
texture = ExtResource("1_ll28s")
expand_mode = 1
[node name="TextureRect4" type="TextureRect" parent="HBoxContainer/SongListPlayers"]
custom_minimum_size = Vector2(50, 25)
layout_mode = 2
texture = ExtResource("1_ll28s")
expand_mode = 1
stretch_mode = 6