From d602be077d4c540b8de0be34b6872c8ac5ea8dd0 Mon Sep 17 00:00:00 2001 From: Lunatoid Date: Wed, 26 Aug 2020 01:48:46 +0200 Subject: Gives the theme editor a horizontal scrollbar Fixes #34509 where the theme editor would push away the inspector if something like "hseperation" is really high. Now `set_enable_h_scroll` is true which fixes this. --- editor/plugins/theme_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor') diff --git a/editor/plugins/theme_editor_plugin.cpp b/editor/plugins/theme_editor_plugin.cpp index 18a107ff75..76dd6e38e0 100644 --- a/editor/plugins/theme_editor_plugin.cpp +++ b/editor/plugins/theme_editor_plugin.cpp @@ -629,7 +629,7 @@ ThemeEditor::ThemeEditor() { ScrollContainer *scroll = memnew(ScrollContainer); add_child(scroll); scroll->set_enable_v_scroll(true); - scroll->set_enable_h_scroll(false); + scroll->set_enable_h_scroll(true); scroll->set_v_size_flags(SIZE_EXPAND_FILL); MarginContainer *root_container = memnew(MarginContainer); -- cgit v1.2.3