From fab1ef325cb2dd9a60e31fb01e194f3541131139 Mon Sep 17 00:00:00 2001 From: Xavier Sellier Date: Wed, 11 Dec 2019 16:06:02 -0500 Subject: [PATCH] Vertical scroll container margin is incorrect This bug has already been fixed in the master branch --- scene/gui/scroll_container.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/gui/scroll_container.cpp b/scene/gui/scroll_container.cpp index f060be6eaff..2d8a47ad0f9 100644 --- a/scene/gui/scroll_container.cpp +++ b/scene/gui/scroll_container.cpp @@ -228,7 +228,7 @@ void ScrollContainer::_notification(int p_what) { size.y -= h_scroll->get_minimum_size().y; if (v_scroll->is_visible()) - size.x -= h_scroll->get_minimum_size().x; + size.x -= v_scroll->get_minimum_size().x; for (int i = 0; i < get_child_count(); i++) {