summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-12-30 16:35:26 +0100
committerGitHub <noreply@github.com>2019-12-30 16:35:26 +0100
commitfa3577b0edeeb3c6e08a592485581cda1f19fd47 (patch)
tree8694ea834baf8d9c8d6cdeddf98a01e1f599b612
parente799271bb7e973722eb91a639a1b410b5a209aec (diff)
parentf03facc4746496927872b97f02f45eeb3c77ea0c (diff)
Merge pull request #34598 from timothyqiu/tab-height
Fixes tab height in Batch Rename dialog
-rw-r--r--editor/rename_dialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/rename_dialog.cpp b/editor/rename_dialog.cpp
index cc9e14975f..9f77f9d82a 100644
--- a/editor/rename_dialog.cpp
+++ b/editor/rename_dialog.cpp
@@ -32,6 +32,7 @@
#include "core/print_string.h"
#include "editor_node.h"
+#include "editor_scale.h"
#include "editor_settings.h"
#include "editor_themes.h"
#include "modules/regex/regex.h"
@@ -106,7 +107,7 @@ RenameDialog::RenameDialog(SceneTreeEditor *p_scene_tree_editor, UndoRedo *p_und
// -- Feature Tabs
- const int feature_min_height = 160;
+ const int feature_min_height = 160 * EDSCALE;
Ref<Theme> collapse_theme = create_editor_theme();
collapse_theme->set_icon("checked", "CheckBox", collapse_theme->get_icon("GuiTreeArrowDown", "EditorIcons"));