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);
|
ScrollContainer *scroll = memnew(ScrollContainer);
|
||||||
add_child(scroll);
|
add_child(scroll);
|
||||||
scroll->set_enable_v_scroll(true);
|
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);
|
scroll->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||||
|
|
||||||
MarginContainer *root_container = memnew(MarginContainer);
|
MarginContainer *root_container = memnew(MarginContainer);
|
||||||
|
|
Loading…
Reference in New Issue