diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-12-30 16:35:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-30 16:35:26 +0100 |
commit | fa3577b0edeeb3c6e08a592485581cda1f19fd47 (patch) | |
tree | 8694ea834baf8d9c8d6cdeddf98a01e1f599b612 | |
parent | e799271bb7e973722eb91a639a1b410b5a209aec (diff) | |
parent | f03facc4746496927872b97f02f45eeb3c77ea0c (diff) |
Merge pull request #34598 from timothyqiu/tab-height
Fixes tab height in Batch Rename dialog
-rw-r--r-- | editor/rename_dialog.cpp | 3 |
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")); |