summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-03-13 12:51:54 +0100
committerGitHub <noreply@github.com>2018-03-13 12:51:54 +0100
commitde1e2b44975c1e2f3c15c2acb7c5b9a26e5ecb8f (patch)
treeba2050d77ebeaa61153f01c6a2c8593be02fcea8
parent4835488716794277a826bb5b3c77f08337e3c689 (diff)
parent555a8c0b8de28fe092aa02097e6bb3412402e489 (diff)
Merge pull request #17176 from Noshyaar/audiobus
EditorAudioBus: expand effects list
-rw-r--r--editor/editor_audio_buses.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_audio_buses.cpp b/editor/editor_audio_buses.cpp
index c57d65d321..0b39540273 100644
--- a/editor/editor_audio_buses.cpp
+++ b/editor/editor_audio_buses.cpp
@@ -719,6 +719,7 @@ EditorAudioBus::EditorAudioBus(EditorAudioBuses *p_buses, bool p_is_master) {
effects->set_hide_root(true);
effects->set_custom_minimum_size(Size2(0, 100) * EDSCALE);
effects->set_hide_folding(true);
+ effects->set_v_size_flags(SIZE_EXPAND_FILL);
vb->add_child(effects);
effects->connect("item_edited", this, "_effect_edited");
effects->connect("cell_selected", this, "_effect_selected");
@@ -1151,6 +1152,7 @@ EditorAudioBuses::EditorAudioBuses() {
bus_scroll->set_enable_v_scroll(false);
add_child(bus_scroll);
bus_hb = memnew(HBoxContainer);
+ bus_hb->set_v_size_flags(SIZE_EXPAND_FILL);
bus_scroll->add_child(bus_hb);
save_timer = memnew(Timer);