mirror of
https://github.com/Relintai/GraphicsEditor.git
synced 2024-11-12 08:15:17 +01:00
93 lines
2.4 KiB
Plaintext
93 lines
2.4 KiB
Plaintext
[gd_scene load_steps=2 format=2]
|
|
|
|
[ext_resource path="res://addons/graphics_editor/Settings.gd" type="Script" id=1]
|
|
|
|
[node name="Settings" type="WindowDialog"]
|
|
margin_top = 20.0
|
|
margin_right = 310.0
|
|
margin_bottom = 180.0
|
|
window_title = "Settings"
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Ok" type="Button" parent="."]
|
|
margin_left = 220.0
|
|
margin_top = 130.0
|
|
margin_right = 300.0
|
|
margin_bottom = 150.0
|
|
text = "Ok"
|
|
|
|
[node name="CanvasOutline" type="Control" parent="."]
|
|
margin_left = 10.0
|
|
margin_top = 10.0
|
|
margin_right = 300.0
|
|
margin_bottom = 120.0
|
|
__meta__ = {
|
|
"_edit_group_": true
|
|
}
|
|
|
|
[node name="Label" type="Label" parent="CanvasOutline"]
|
|
margin_right = 100.0
|
|
margin_bottom = 14.0
|
|
text = "Canvas Outline:"
|
|
|
|
[node name="Enabled" type="Control" parent="CanvasOutline"]
|
|
margin_left = 10.0
|
|
margin_top = 20.0
|
|
margin_right = 290.0
|
|
margin_bottom = 40.0
|
|
|
|
[node name="Label" type="Label" parent="CanvasOutline/Enabled"]
|
|
margin_right = 130.0
|
|
margin_bottom = 20.0
|
|
text = "Enabled:"
|
|
valign = 1
|
|
|
|
[node name="CheckButton" type="CheckButton" parent="CanvasOutline/Enabled"]
|
|
margin_left = 210.0
|
|
margin_top = -10.0
|
|
margin_right = 286.0
|
|
margin_bottom = 30.0
|
|
pressed = true
|
|
|
|
[node name="Color" type="Control" parent="CanvasOutline"]
|
|
margin_left = 10.0
|
|
margin_top = 50.0
|
|
margin_right = 290.0
|
|
margin_bottom = 70.0
|
|
|
|
[node name="Label" type="Label" parent="CanvasOutline/Color"]
|
|
margin_right = 130.0
|
|
margin_bottom = 20.0
|
|
text = "Color:"
|
|
valign = 1
|
|
|
|
[node name="ColorPickerButton" type="ColorPickerButton" parent="CanvasOutline/Color"]
|
|
margin_left = 170.0
|
|
margin_right = 280.0
|
|
margin_bottom = 20.0
|
|
|
|
[node name="Width" type="Control" parent="CanvasOutline"]
|
|
margin_left = 10.0
|
|
margin_top = 80.0
|
|
margin_right = 290.0
|
|
margin_bottom = 100.0
|
|
|
|
[node name="Label" type="Label" parent="CanvasOutline/Width"]
|
|
margin_right = 130.0
|
|
margin_bottom = 20.0
|
|
rect_rotation = -0.00812905
|
|
text = "Width:"
|
|
valign = 1
|
|
|
|
[node name="SpinBox" type="SpinBox" parent="CanvasOutline/Width"]
|
|
margin_left = 210.0
|
|
margin_right = 284.0
|
|
margin_bottom = 24.0
|
|
max_value = 9999.0
|
|
allow_greater = true
|
|
allow_lesser = true
|
|
[connection signal="pressed" from="Ok" to="." method="_on_Ok_pressed"]
|
|
[connection signal="toggled" from="CanvasOutline/Enabled/CheckButton" to="." method="_on_CheckButton_toggled"]
|
|
[connection signal="color_changed" from="CanvasOutline/Color/ColorPickerButton" to="." method="_on_ColorPickerButton_color_changed"]
|
|
[connection signal="value_changed" from="CanvasOutline/Width/SpinBox" to="." method="_on_SpinBox_value_changed"]
|