Proper grid snapping for audio clips, adjust audio clip and timeline styling

This commit is contained in:
2025-02-16 18:04:44 +01:00
parent ec16023158
commit 178fa40c15
4 changed files with 52 additions and 16 deletions

View File

@@ -23,10 +23,11 @@ theme_override_styles/panel = SubResource("StyleBoxFlat_8tb17")
script = ExtResource("1_iy5jd")
[node name="Panel" type="Panel" parent="."]
custom_minimum_size = Vector2(0, 14)
custom_minimum_size = Vector2(0, 20)
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 20.0
grow_horizontal = 2
[node name="Label" type="Label" parent="Panel"]
@@ -36,7 +37,29 @@ anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 8
theme_override_font_sizes/font_size = 10
text = "New Audio Clip"
vertical_alignment = 1
text_overrun_behavior = 3
[node name="Window" type="ConfirmationDialog" parent="."]
title = "\"New Audio Clip\" Properties"
size = Vector2i(400, 600)
[node name="Control" type="Control" parent="Window"]
layout_mode = 3
anchors_preset = 0
offset_left = 8.0
offset_top = 8.0
offset_right = 92.0
offset_bottom = 51.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Label" type="Label" parent="Window/Control"]
layout_mode = 0
offset_right = 40.0
offset_bottom = 23.0
text = "Clip properties!"
[connection signal="on_double_click" from="." to="Window" method="popup_centered"]