From a90d350de0a0e133b047a1c0113314bce83c1e33 Mon Sep 17 00:00:00 2001 From: Fleeym <61891787+Fleeym@users.noreply.github.com> Date: Tue, 29 Apr 2025 23:56:15 +0300 Subject: [PATCH] fix ModDeveloperList displaying devs bottom to top --- loader/src/ui/mods/list/ModDeveloperList.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loader/src/ui/mods/list/ModDeveloperList.cpp b/loader/src/ui/mods/list/ModDeveloperList.cpp index 10e37851b..e2ded0a4a 100644 --- a/loader/src/ui/mods/list/ModDeveloperList.cpp +++ b/loader/src/ui/mods/list/ModDeveloperList.cpp @@ -38,8 +38,8 @@ bool ModDeveloperList::init(DevListPopup* popup, ModSource const& source, CCSize m_list = ScrollLayer::create({ size.width - 10.f, size.height - 10.f }); m_list->m_contentLayer->setLayout( SimpleColumnLayout::create() - ->setMainAxisDirection(AxisDirection::BottomToTop) - ->setMainAxisAlignment(MainAxisAlignment::End) + ->setMainAxisDirection(AxisDirection::TopToBottom) + ->setMainAxisAlignment(MainAxisAlignment::Start) ->setMainAxisScaling(AxisScaling::Grow) ->setGap(5.0f) );