Small UI & translation fixes

Made the right panel in Main.tscn and CreateNewImage.tscn a little bigger, changed some labels, translations and some Global.can_draws. Also added a temporary fix for a issue where Space is being treated as a mouse press, for FrameButton.gd
This commit is contained in:
OverloadedOrama 2020-04-19 02:27:23 +03:00
parent d2da2979f5
commit b6c7ad4d1c
7 changed files with 113 additions and 108 deletions

View file

@ -3,9 +3,9 @@
[ext_resource path="res://Scripts/Dialogs/CreateNewImage.gd" type="Script" id=1]
[node name="CreateNewImage" type="ConfirmationDialog"]
margin_right = 205.0
margin_right = 300.0
margin_bottom = 200.0
rect_min_size = Vector2( 250, 200 )
rect_min_size = Vector2( 375, 200 )
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
@ -14,25 +14,26 @@ __meta__ = {
[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_left = 8.0
margin_top = 8.0
margin_right = 242.0
margin_right = 367.0
margin_bottom = 164.0
size_flags_horizontal = 0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ImageSize" type="Label" parent="VBoxContainer"]
margin_right = 234.0
margin_right = 359.0
margin_bottom = 14.0
text = "Image Size"
[node name="HSeparator" type="HSeparator" parent="VBoxContainer"]
margin_top = 18.0
margin_right = 234.0
margin_right = 359.0
margin_bottom = 22.0
[node name="OptionsContainer" type="GridContainer" parent="VBoxContainer"]
margin_top = 26.0
margin_right = 234.0
margin_right = 359.0
margin_bottom = 154.0
custom_constants/vseparation = 4
custom_constants/hseparation = 2

View file

@ -154,14 +154,14 @@ rect_min_size = Vector2( 0, 24 )
[node name="BackgroundColorLabel" type="Label" parent="VBoxContainer/AnimationOptions/AnimatedOptions"]
margin_top = 5.0
margin_right = 82.0
margin_right = 78.0
margin_bottom = 19.0
text = "Background: "
text = "Background:"
valign = 1
[node name="BackgroundColor" type="ColorPickerButton" parent="VBoxContainer/AnimationOptions/AnimatedOptions"]
margin_left = 86.0
margin_right = 265.0
margin_left = 82.0
margin_right = 263.0
margin_bottom = 24.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 7
@ -169,14 +169,14 @@ color = Color( 1, 1, 1, 1 )
edit_alpha = false
[node name="DirectionLabel" type="Label" parent="VBoxContainer/AnimationOptions/AnimatedOptions"]
margin_left = 269.0
margin_left = 267.0
margin_top = 5.0
margin_right = 332.0
margin_right = 330.0
margin_bottom = 19.0
text = "Direction:"
[node name="Direction" type="OptionButton" parent="VBoxContainer/AnimationOptions/AnimatedOptions"]
margin_left = 336.0
margin_left = 334.0
margin_right = 516.0
margin_bottom = 24.0
rect_min_size = Vector2( 100, 0 )