diff options
author | Haoyu Qiu <timothyqiu32@gmail.com> | 2019-12-25 10:12:05 +0800 |
---|---|---|
committer | Haoyu Qiu <timothyqiu32@gmail.com> | 2019-12-25 10:13:13 +0800 |
commit | f03facc4746496927872b97f02f45eeb3c77ea0c (patch) | |
tree | ae65a3f71e8060ae9a82e10d0e0c6cf19596dacc | |
parent | d711c57d767734887fbf0955a7b9902c54498a0d (diff) |
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")); |