mirror of
https://github.com/godotengine/godot
synced 2024-09-05 20:59:56 +00:00
Merge pull request #41523 from Lunatoid/theme-editor-h-scrollbar
Gives the theme editor a horizontal scrollbar
This commit is contained in:
commit
7a62b94bca
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue