Form layout width
I have a form with many fields for creating an estimate. I'd like 2/3rds for the form and next to it I would do 1/3rd with disabled fields to show invoice-like totals (glass, hardware, subtotal, tax, etc).
I'm trying to use column spans and I do have a 2/3rd but why is the total form width so minimal? I even went to a top navbar hoping the form would fill the space but no matter how I adjust columns and columnSpan I can't make a very wide form. I'd like to have a narrow side navbar but maximize the rest of the space for a very wide form.
Clearly I'm missing something. An y help would be appreciated.
3 Replies
For starters, how big is your monitor? Lol. The default width on the layout is tailwind’s 7xl which is 1280px and the only thing bigger than that is ‘full’.
On your panel you can control the width with maxContentWidth()
Lol… it’s big, good point. Responsiveness comes next, I just didn’t know how to do this, could not find maxContentWidth. Excellent thank you!
I guess it's in the Service Provider of your working panel.
$panel
->maxContentWidth('full')