Columns Size

Hi! is there a way to specify column sizes? I would like to have the 4º column wider, since there's space between col 1 & 2. Thanks!
No description
Solution:
Didnt work with stacks yet...so I dont know...maybe you can put the ->wrap on the Stack itself? or maybe ->grow() ? 🤔
Jump to solution
7 Replies
dissto
dissto5mo ago
I think you can simply tag on ->width() and ->height() or even size() to each column you want:
SpatieMediaLibraryImageColumn::make('avatar')
->circular()
->size('40px')
//->width('40px')
//->height('40px')
SpatieMediaLibraryImageColumn::make('avatar')
->circular()
->size('40px')
//->width('40px')
//->height('40px')
PabloZagni
PabloZagniOP5mo ago
It works for the ImageColumn, but I need to expand a TextColumn
PabloZagni
PabloZagniOP5mo ago
No description
dissto
dissto5mo ago
Can you try ->wrap(false) and remove the width and height again 🤔 Thoguht you meant the avatar column 🤪
PabloZagni
PabloZagniOP5mo ago
The Avatar column is a Stack.
No description
Solution
dissto
dissto5mo ago
Didnt work with stacks yet...so I dont know...maybe you can put the ->wrap on the Stack itself? or maybe ->grow() ? 🤔
PabloZagni
PabloZagniOP5mo ago
I had to add "->grow(false)" to all collumsn and the stack! Great! Thanks!
No description
No description
Want results from more Discord servers?
Add your server