stats layout on a dashboard

I've followed the docs for both the dashboard page and the widgets. But still currently are displaying vertically.

This is my overridden dashboard
class Dashboard extends \Filament\Pages\Dashboard
{
    public function getColumns(): int | string | array
    {
        return 2;
    }

    /**
     * @return array<class-string<Widget> | WidgetConfiguration>
     */
    public function getWidgets(): array
    {
        return Filament::getWidgets();
    }
}
image.png
Was this page helpful?