Godot's built-in font has no Japanese, so kanji in song names showed as boxes. The theme now sets Godot's own Open Sans SemiBold as its default font, with Noto Sans JP Medium as fallback. The Noto file's line metrics are set to Open Sans's, so line heights stay the same and every other screen is pixel-identical; fonts/README.md explains how to redo it. Search and Sync move right to where the Statistics button was.
116 lines
2.7 KiB
Plaintext
116 lines
2.7 KiB
Plaintext
[gd_scene format=3]
|
|
|
|
[ext_resource type="Script" path="res://main/top_bar.gd" id="top_bar_script"]
|
|
|
|
[sub_resource type="InputEventKey" id="InputEventKey_ujjlu"]
|
|
device = -1
|
|
alt_pressed = true
|
|
keycode = 83
|
|
|
|
[sub_resource type="Shortcut" id="Shortcut_fbju4"]
|
|
events = [SubResource("InputEventKey_ujjlu")]
|
|
|
|
[sub_resource type="ButtonGroup" id="ButtonGroup_tabs"]
|
|
|
|
[node name="TopBar" type="Control" unique_id=1489162753]
|
|
layout_mode = 3
|
|
anchors_preset = 10
|
|
anchor_right = 1.0
|
|
offset_bottom = 56.0
|
|
grow_horizontal = 2
|
|
mouse_filter = 2
|
|
script = ExtResource("top_bar_script")
|
|
|
|
[node name="TopPanelContainer" type="PanelContainer" parent="." unique_id=663404711]
|
|
layout_mode = 0
|
|
offset_right = 1920.0
|
|
offset_bottom = 56.0
|
|
|
|
[node name="Title" type="Label" parent="." unique_id=1187907861]
|
|
layout_mode = 0
|
|
offset_left = 64.0
|
|
offset_top = 12.0
|
|
offset_right = 369.0
|
|
offset_bottom = 50.0
|
|
size_flags_horizontal = 0
|
|
theme_type_variation = &"Title"
|
|
text = "Music Player Randomizer"
|
|
|
|
[node name="SyncButton" type="Button" parent="." unique_id=1228313556]
|
|
layout_mode = 0
|
|
offset_left = 1538.0
|
|
offset_top = 8.0
|
|
offset_right = 1608.0
|
|
offset_bottom = 48.0
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "Sync"
|
|
|
|
[node name="SearchButton" type="Button" parent="." unique_id=1782453581]
|
|
layout_mode = 0
|
|
offset_left = 1450.0
|
|
offset_top = 8.0
|
|
offset_right = 1520.0
|
|
offset_bottom = 48.0
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
shortcut = SubResource("Shortcut_fbju4")
|
|
text = "Search"
|
|
|
|
[node name="ShortcutsButton" type="Button" parent="." unique_id=2066498226]
|
|
layout_mode = 0
|
|
offset_left = 1626.0
|
|
offset_top = 8.0
|
|
offset_right = 1696.0
|
|
offset_bottom = 48.0
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "Shortcuts"
|
|
|
|
[node name="AboutButton" type="Button" parent="." unique_id=1057035253]
|
|
layout_mode = 0
|
|
offset_left = 1722.0
|
|
offset_top = 8.0
|
|
offset_right = 1792.0
|
|
offset_bottom = 48.0
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "About"
|
|
|
|
[node name="QRButton" type="Button" parent="." unique_id=2021908559]
|
|
layout_mode = 0
|
|
offset_left = 1802.0
|
|
offset_top = 8.0
|
|
offset_right = 1872.0
|
|
offset_bottom = 48.0
|
|
focus_mode = 0
|
|
action_mode = 0
|
|
text = "QR"
|
|
|
|
[node name="QuizTab" type="Button" parent="." unique_id=1903412671]
|
|
layout_mode = 0
|
|
offset_left = 840.0
|
|
offset_top = 8.0
|
|
offset_right = 955.0
|
|
offset_bottom = 48.0
|
|
focus_mode = 0
|
|
theme_type_variation = &"TabButton"
|
|
toggle_mode = true
|
|
button_pressed = true
|
|
action_mode = 0
|
|
button_group = SubResource("ButtonGroup_tabs")
|
|
text = "Quiz"
|
|
|
|
[node name="StatisticsTab" type="Button" parent="." unique_id=1903412672]
|
|
layout_mode = 0
|
|
offset_left = 965.0
|
|
offset_top = 8.0
|
|
offset_right = 1080.0
|
|
offset_bottom = 48.0
|
|
focus_mode = 0
|
|
theme_type_variation = &"TabButton"
|
|
toggle_mode = true
|
|
action_mode = 0
|
|
button_group = SubResource("ButtonGroup_tabs")
|
|
text = "Statistics"
|