F
Filament9mo ago
Wiebe

Stats widget columns

I want to have a columnspan of 2 on mobile and 3 on desktop. But I cant get it working. Already tried this:
public function getColumnSpan(): int|string|array {
return [
'default' => 2,
'md' => 3,
];
}

public function getColumnStart(): int|string|array {
return [
'default' => 2,
'md' => 3,
];
}
public function getColumnSpan(): int|string|array {
return [
'default' => 2,
'md' => 3,
];
}

public function getColumnStart(): int|string|array {
return [
'default' => 2,
'md' => 3,
];
}
1 Reply
Eddy
Eddy3w ago
I also would like to know if there is a way to set the number of the columns in the stats widget. Apparently it's fixed to 3. I could change it with:
protected function getColumns(): int
{
return 1;
}
protected function getColumns(): int
{
return 1;
}
Want results from more Discord servers?
Add your server