From bf4d8ee69cfde8f6f285112dbc89f5f5485ccbd0 Mon Sep 17 00:00:00 2001 From: Poommetee Ketson Date: Fri, 2 Mar 2018 18:51:47 +0700 Subject: [PATCH] EditorAudioBus: expand effects list (cherry picked from commit 555a8c0b8de28fe092aa02097e6bb3412402e489) --- editor/editor_audio_buses.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/editor_audio_buses.cpp b/editor/editor_audio_buses.cpp index c57d65d321f..0b395402738 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);