Merge pull request #34283 from xsellier/patch-2

Vertical scroll container margin is incorrect
This commit is contained in:
Rémi Verschelde 2019-12-12 07:34:59 +01:00 committed by GitHub
commit 38568f82c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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++) {