Make UI a little more compact and define a minimum window size

This commit is contained in:
ChaoticByte 2024-12-19 19:14:30 +01:00
parent 8653b3740e
commit a9a90235d9
No known key found for this signature in database
2 changed files with 6 additions and 5 deletions

View file

@ -67,9 +67,9 @@ color = Color(1, 1, 1, 0)
[node name="AppName" type="Label" parent="UI_Layer/UserInterfaceContainer"]
layout_mode = 0
offset_left = 24.0
offset_top = 24.0
offset_top = 16.0
offset_right = 208.0
offset_bottom = 56.0
offset_bottom = 48.0
theme_override_font_sizes/font_size = 20
text = "Fragmented"
vertical_alignment = 2
@ -77,9 +77,9 @@ vertical_alignment = 2
[node name="AppVersion" type="Label" parent="UI_Layer/UserInterfaceContainer"]
layout_mode = 0
offset_left = 152.0
offset_top = 24.0
offset_top = 17.0
offset_right = 208.0
offset_bottom = 55.0
offset_bottom = 47.0
theme_override_font_sizes/font_size = 14
text = "v0
"
@ -92,7 +92,7 @@ anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 24.0
offset_top = 80.0
offset_top = 64.0
offset_right = -24.0
offset_bottom = -24.0
grow_horizontal = 2

View file

@ -5,6 +5,7 @@ extends Node2D
func _ready():
DisplayServer.window_set_min_size(Vector2i(900, 500))
Globals.target_viewport = image_viewport
func _on_save_image_button_pressed():