mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08: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 New Issue
Block a user