summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorLunatoid <lunatoid@pm.me>2020-08-26 01:48:46 +0200
committerLunatoid <lunatoid@pm.me>2020-08-26 01:48:46 +0200
commitd602be077d4c540b8de0be34b6872c8ac5ea8dd0 (patch)
treefbabdaeb756f0e1a20afdecb0203d724c336875e /editor
parenta609b30ddb77bcc1c64008a7848da07b5448a10d (diff)
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.
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/theme_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
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);