V4 Layout help

I have the below code for a filament v4 layout, and I have attached the result for this layout in the screenshot. How can I extend sections so that the information section takes 4 columns and the image section takes 2 columns? Thanks for the help in advance.
Solution:
Flex doesn't support columns like that. Use a Grid instead ```php Grid::make(3) ->schema([...
Jump to solution
2 Replies
Solution
awcodes
awcodes2mo ago
Flex doesn't support columns like that. Use a Grid instead
Grid::make(3)
->schema([
Section::make('1 span')
->columnSpan(1),
Section::make('2 span')
->columnSpan(2),
])
Grid::make(3)
->schema([
Section::make('1 span')
->columnSpan(1),
Section::make('2 span')
->columnSpan(2),
])
chinwalprasad
chinwalprasadOP2mo ago
@awcodes Thanks a lot.

Did you find this page helpful?