mirror of
https://github.com/Relintai/GraphicsEditor.git
synced 2024-11-12 08:15:17 +01:00
54 lines
1.2 KiB
Plaintext
54 lines
1.2 KiB
Plaintext
[gd_scene load_steps=2 format=2]
|
|
|
|
[ext_resource path="res://addons/graphics_editor/ExpandCanvas.gd" type="Script" id=1]
|
|
|
|
[node name="ExpandCanvas" type="WindowDialog"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_right = -734.0
|
|
margin_bottom = -520.0
|
|
window_title = "Expand Canvas"
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="CanvasSize" type="Control" parent="."]
|
|
margin_left = 10.0
|
|
margin_top = 10.0
|
|
margin_right = 240.0
|
|
margin_bottom = 34.0
|
|
|
|
[node name="Label" type="Label" parent="CanvasSize"]
|
|
margin_right = 80.0
|
|
margin_bottom = 24.0
|
|
text = "Canvas Size:"
|
|
valign = 1
|
|
|
|
[node name="Label2" type="Label" parent="CanvasSize"]
|
|
margin_left = 170.0
|
|
margin_right = 190.0
|
|
margin_bottom = 24.0
|
|
text = "X"
|
|
align = 1
|
|
valign = 1
|
|
|
|
[node name="SpinBox" type="SpinBox" parent="CanvasSize"]
|
|
margin_left = 90.0
|
|
margin_right = 170.0
|
|
margin_bottom = 24.0
|
|
max_value = 10000.0
|
|
value = 100.0
|
|
|
|
[node name="SpinBox2" type="SpinBox" parent="CanvasSize"]
|
|
margin_left = 190.0
|
|
margin_right = 270.0
|
|
margin_bottom = 24.0
|
|
max_value = 10000.0
|
|
value = 100.0
|
|
|
|
[node name="Ok" type="Button" parent="."]
|
|
margin_left = 200.0
|
|
margin_top = 50.0
|
|
margin_right = 280.0
|
|
margin_bottom = 70.0
|
|
text = "Ok"
|
|
[connection signal="pressed" from="Ok" to="." method="_on_Ok_pressed"]
|