From 93571afa5cf7ab682a1a2af101677c36b416a2f4 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 15 Jul 2022 00:08:19 +0200 Subject: [PATCH] Fix some of the remaining issues. --- addons/file-editor/scripts/FileEditor.gd | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/addons/file-editor/scripts/FileEditor.gd b/addons/file-editor/scripts/FileEditor.gd index 643a901..0dc457f 100644 --- a/addons/file-editor/scripts/FileEditor.gd +++ b/addons/file-editor/scripts/FileEditor.gd @@ -240,6 +240,12 @@ func _init(): select_font_dialog.show_hidden_files = true select_font_dialog.window_title = "Open a File" select_font_dialog.resizable = true + select_font_dialog.set_anchors_and_margins_preset(Control.PRESET_WIDE) + select_font_dialog.margin_left = 222 + select_font_dialog.margin_top = 132 + select_font_dialog.margin_right = -221 + select_font_dialog.margin_bottom = -131 + select_font_dialog.rect_min_size = Vector2(200, 70) var farr : PoolStringArray = PoolStringArray() farr.push_back("*.TTF")