Merge pull request #41523 from Lunatoid/theme-editor-h-scrollbar

Gives the theme editor a horizontal scrollbar
This commit is contained in:
Rémi Verschelde 2020-08-27 12:16:56 +02:00 committed by GitHub
commit 7a62b94bca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);