mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Remove minimum size from PreferencesDialog
This commit is contained in:
parent
8b78877f0c
commit
028a4c9f8a
|
@ -9,11 +9,8 @@
|
|||
[sub_resource type="ButtonGroup" id=1]
|
||||
|
||||
[node name="PreferencesDialog" type="AcceptDialog"]
|
||||
margin_left = -3.0
|
||||
margin_top = 9.0
|
||||
margin_right = 617.0
|
||||
margin_bottom = 459.0
|
||||
rect_min_size = Vector2( 620, 450 )
|
||||
margin_right = 620.0
|
||||
margin_bottom = 450.0
|
||||
window_title = "Preferences"
|
||||
resizable = true
|
||||
script = ExtResource( 1 )
|
||||
|
@ -57,11 +54,11 @@ size_flags_horizontal = 3
|
|||
size_flags_vertical = 3
|
||||
|
||||
[node name="Startup" type="VBoxContainer" parent="HSplitContainer/ScrollContainer/VBoxContainer"]
|
||||
margin_right = 498.0
|
||||
margin_right = 348.0
|
||||
margin_bottom = 70.0
|
||||
|
||||
[node name="StartupHeader" type="HBoxContainer" parent="HSplitContainer/ScrollContainer/VBoxContainer/Startup"]
|
||||
margin_right = 498.0
|
||||
margin_right = 348.0
|
||||
margin_bottom = 14.0
|
||||
custom_constants/separation = 0
|
||||
|
||||
|
@ -73,26 +70,26 @@ text = "Startup"
|
|||
|
||||
[node name="HSeparator" type="HSeparator" parent="HSplitContainer/ScrollContainer/VBoxContainer/Startup/StartupHeader"]
|
||||
margin_left = 45.0
|
||||
margin_right = 498.0
|
||||
margin_right = 348.0
|
||||
margin_bottom = 14.0
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="StartupContainer" type="GridContainer" parent="HSplitContainer/ScrollContainer/VBoxContainer/Startup"]
|
||||
margin_top = 18.0
|
||||
margin_right = 498.0
|
||||
margin_right = 348.0
|
||||
margin_bottom = 70.0
|
||||
columns = 3
|
||||
|
||||
[node name="OpenLastProjectLabel" type="Label" parent="HSplitContainer/ScrollContainer/VBoxContainer/Startup/StartupContainer"]
|
||||
margin_top = 5.0
|
||||
margin_right = 189.0
|
||||
margin_right = 180.0
|
||||
margin_bottom = 19.0
|
||||
size_flags_horizontal = 3
|
||||
text = "Open last project on startup"
|
||||
|
||||
[node name="OpenLastProject" type="CheckBox" parent="HSplitContainer/ScrollContainer/VBoxContainer/Startup/StartupContainer"]
|
||||
margin_left = 193.0
|
||||
margin_right = 381.0
|
||||
margin_left = 184.0
|
||||
margin_right = 231.0
|
||||
margin_bottom = 24.0
|
||||
hint_tooltip = "Opens last opened project on startup"
|
||||
mouse_default_cursor_shape = 2
|
||||
|
@ -100,15 +97,15 @@ size_flags_horizontal = 3
|
|||
text = "On"
|
||||
|
||||
[node name="QuitConfirmationLabel" type="Label" parent="HSplitContainer/ScrollContainer/VBoxContainer/Startup/StartupContainer"]
|
||||
margin_left = 385.0
|
||||
margin_left = 235.0
|
||||
margin_top = 5.0
|
||||
margin_right = 498.0
|
||||
margin_right = 348.0
|
||||
margin_bottom = 19.0
|
||||
text = "Quit confirmation"
|
||||
|
||||
[node name="QuitConfirmation" type="CheckBox" parent="HSplitContainer/ScrollContainer/VBoxContainer/Startup/StartupContainer"]
|
||||
margin_top = 28.0
|
||||
margin_right = 189.0
|
||||
margin_right = 180.0
|
||||
margin_bottom = 52.0
|
||||
mouse_default_cursor_shape = 2
|
||||
text = "On"
|
||||
|
|
|
@ -416,7 +416,7 @@ func edit_menu_id_pressed(id: int) -> void:
|
|||
Global.EditMenu.NEW_BRUSH:
|
||||
Global.canvas.selection.new_brush()
|
||||
Global.EditMenu.PREFERENCES:
|
||||
Global.preferences_dialog.popup_centered(Vector2(400, 280))
|
||||
Global.preferences_dialog.popup_centered(Vector2(600, 400))
|
||||
Global.dialog_open(true)
|
||||
_:
|
||||
_handle_metadata(id, edit_menu_button)
|
||||
|
|
Loading…
Reference in a new issue