1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-31 07:29:49 +00:00

Made Onion Skinning Settings dialog bigger - Fixes #220

This commit is contained in:
OverloadedOrama 2020-04-23 23:25:12 +03:00
parent 85bdffa322
commit 84e822bb44
2 changed files with 14 additions and 11 deletions

View file

@ -579,28 +579,31 @@ margin_bottom = 200.0
[node name="AnimationTimer" type="Timer" parent="."] [node name="AnimationTimer" type="Timer" parent="."]
[node name="OnionSkinningSettings" type="WindowDialog" parent="."] [node name="OnionSkinningSettings" type="WindowDialog" parent="."]
rect_min_size = Vector2( 136, 126 ) rect_min_size = Vector2( 220, 126 )
__meta__ = { __meta__ = {
"_edit_use_anchors_": false "_edit_use_anchors_": false
} }
[node name="OnionSkinningButtons" type="VBoxContainer" parent="OnionSkinningSettings"] [node name="OnionSkinningButtons" type="VBoxContainer" parent="OnionSkinningSettings"]
margin_left = 8.0 anchor_top = 0.5
margin_top = 8.0 anchor_right = 1.0
margin_right = 134.0 anchor_bottom = 0.5
margin_bottom = 124.0 margin_left = 4.0
margin_top = -58.0
margin_right = -4.0
margin_bottom = 58.0
__meta__ = { __meta__ = {
"_edit_use_anchors_": false "_edit_use_anchors_": false
} }
[node name="OnionSkinningPast" type="Label" parent="OnionSkinningSettings/OnionSkinningButtons"] [node name="OnionSkinningPast" type="Label" parent="OnionSkinningSettings/OnionSkinningButtons"]
margin_right = 126.0 margin_right = 212.0
margin_bottom = 14.0 margin_bottom = 14.0
text = "Past Frames" text = "Past Frames"
[node name="PastOnionSkinning" type="SpinBox" parent="OnionSkinningSettings/OnionSkinningButtons"] [node name="PastOnionSkinning" type="SpinBox" parent="OnionSkinningSettings/OnionSkinningButtons"]
margin_top = 18.0 margin_top = 18.0
margin_right = 126.0 margin_right = 212.0
margin_bottom = 42.0 margin_bottom = 42.0
mouse_default_cursor_shape = 2 mouse_default_cursor_shape = 2
min_value = 1.0 min_value = 1.0
@ -609,13 +612,13 @@ align = 1
[node name="OnionSkinningFuture" type="Label" parent="OnionSkinningSettings/OnionSkinningButtons"] [node name="OnionSkinningFuture" type="Label" parent="OnionSkinningSettings/OnionSkinningButtons"]
margin_top = 46.0 margin_top = 46.0
margin_right = 126.0 margin_right = 212.0
margin_bottom = 60.0 margin_bottom = 60.0
text = "Future Frames" text = "Future Frames"
[node name="FutureOnionSkinning" type="SpinBox" parent="OnionSkinningSettings/OnionSkinningButtons"] [node name="FutureOnionSkinning" type="SpinBox" parent="OnionSkinningSettings/OnionSkinningButtons"]
margin_top = 64.0 margin_top = 64.0
margin_right = 126.0 margin_right = 212.0
margin_bottom = 88.0 margin_bottom = 88.0
mouse_default_cursor_shape = 2 mouse_default_cursor_shape = 2
min_value = 1.0 min_value = 1.0
@ -624,7 +627,7 @@ align = 1
[node name="BlueRedMode" type="CheckBox" parent="OnionSkinningSettings/OnionSkinningButtons"] [node name="BlueRedMode" type="CheckBox" parent="OnionSkinningSettings/OnionSkinningButtons"]
margin_top = 92.0 margin_top = 92.0
margin_right = 126.0 margin_right = 212.0
margin_bottom = 116.0 margin_bottom = 116.0
mouse_default_cursor_shape = 2 mouse_default_cursor_shape = 2
text = "Blue-Red Mode" text = "Blue-Red Mode"

View file

@ -184,7 +184,7 @@ func _on_OnionSkinning_pressed() -> void:
func _on_OnionSkinningSettings_pressed() -> void: func _on_OnionSkinningSettings_pressed() -> void:
$OnionSkinningSettings.popup(Rect2(Global.onion_skinning_button.rect_global_position.x - 152, Global.onion_skinning_button.rect_global_position.y - 106, 136, 126)) $OnionSkinningSettings.popup(Rect2(Global.onion_skinning_button.rect_global_position.x - $OnionSkinningSettings.rect_size.x - 16, Global.onion_skinning_button.rect_global_position.y - 106, 136, 126))
func _on_LoopAnim_pressed() -> void: func _on_LoopAnim_pressed() -> void: