If you’re using ScrollLayer to create a list, this helper function can be used to create a ColumnLayout with reasonable defaults for a list.
Class ScrollLayer
#include <Geode/ui/ScrollLayer.hpp>classScrollLayer:publicCCScrollLayerExt{ ... }
No description provided
Examples0
Public static methods3
staticgeode::ScrollLayer*create(,boolscrollWheelEnabled,boolvertical)
No description provided
staticgeode::ScrollLayer*create(,boolscrollWheelEnabled,boolvertical)
No description provided
staticgeode::Layout*createDefaultListLayout(floatgap)
```cpp
list->m_contentLayer->setLayout(ScrollLayer::createDefaultListLayout());`
```