52 lines
1.5 KiB
Text
52 lines
1.5 KiB
Text
[gd_scene load_steps=2 format=2]
|
|
|
|
[ext_resource path="res://previewer/settings.gd" type="Script" id=1]
|
|
|
|
[node name="settings" type="WindowDialog"]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -512.0
|
|
margin_top = -300.0
|
|
margin_right = -256.0
|
|
margin_bottom = -44.0
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 2
|
|
popup_exclusive = true
|
|
window_title = "Settings (T)"
|
|
resizable = true
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="scroll_container" type="ScrollContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
size_flags_horizontal = 7
|
|
size_flags_vertical = 7
|
|
|
|
[node name="controls" type="VBoxContainer" parent="scroll_container"]
|
|
margin_right = 256.0
|
|
margin_bottom = 256.0
|
|
size_flags_horizontal = 7
|
|
size_flags_vertical = 3
|
|
|
|
[node name="sky_top_color" type="HBoxContainer" parent="scroll_container/controls"]
|
|
margin_right = 256.0
|
|
margin_bottom = 20.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="label" type="Label" parent="scroll_container/controls/sky_top_color"]
|
|
margin_top = 3.0
|
|
margin_right = 126.0
|
|
margin_bottom = 17.0
|
|
size_flags_horizontal = 3
|
|
text = "Sky top color"
|
|
align = 2
|
|
|
|
[node name="color_picker_button" type="ColorPickerButton" parent="scroll_container/controls/sky_top_color"]
|
|
margin_left = 130.0
|
|
margin_right = 256.0
|
|
margin_bottom = 20.0
|
|
size_flags_horizontal = 3
|
|
color = Color( 0, 0.811765, 1, 1 )
|
|
[connection signal="color_changed" from="scroll_container/controls/sky_top_color/color_picker_button" to="." method="_on_color_picker_button_color_changed"]
|