$columnSpan on StatOverviewWidget
I'm trying to get 4 stats per row, but changing the
$columnSpan
doesn't seem to do anything. For example:
21 Replies
columnspan is about how wide the entire widget is
not how many columns it has
are you looking for $columns maybe?
Doesn't seem to have a
$columns
property, but this works:
Thanksah ok
makes sense
cause the number of columns is dynamic in the default implementation
check parent::getColumns() if you wanna look
Is there also a native way to get two charts in 1 row?
Will do thanks
yeah? by default?
$columnSpan = 1
if your dashboard has 2 cols
On a custom page I mean, sorry
getHeaderWidgetsColumns() returns 2
so it should put them in 2 cols
hmm ok
gotcha
thanks love
whats on the agenda today
you
client work, then family visiting this weekend :) hbu
working at client today, darts match tonight
then weekend prepping for my trip to murica next week
enjoy!
Enjoy both of you!
thanks
what are ur plans
(besides me)
I've got the girlfriend round for netflix and chill
Followed by a 5k run
Lunch
10K walk
Some work
Then Take the girlfriend out on the motorbike and have a hike up the mountain and a coffee
Follow by a nice lunch, then cooking a roast tea for some friends
that sounds mostly exhausting
best of luck brother
ahahaha! It's completely fun and chill to me 😄
have fun then 😄
Absolutely