siris wrote: ↑21 Jun 2021, 09:07
Hi,
Omega using new PrimeFlex since version 3.0. Please try with "p-col-2 p-col-4". Your styles may not be working if you changed the old primeflex.css files.
Best Regards,
Hi, with p-col it still consumes a lot of the page with white spaces. I think panelGrid is not enough optimized in this theme. Also it doesn't include an panelGrid example.
If I use the code present in formLayout.xhtml "horizontal sectiom" it is better optimized, panelGrid should follow it, because it would be a lot of work to migrate our code to this new style.
Code: Select all
<h5>Horizontal</h5>
<div class="p-field p-grid">
<p:outputLabel for="name3" styleClass="p-col-12 p-mb-2 p-md-2 p-mb-md-0">Name</p:outputLabel>
<div class="p-col-12 p-md-10">
<p:inputText id="name3" />
</div>
</div>
<div class="p-field p-grid">
<p:outputLabel for="email3" styleClass="p-col-12 p-mb-2 p-md-2 p-mb-md-0">Email</p:outputLabel>
<div class="p-col-12 p-md-10">
<p:inputText id="email3" />
</div>
</div>
can you share a panelGrid example with reduced white space between inputs?