I'm trying to show all my Channel's fields on front end, as they are shown on the CP:
{% set section = craft.app.sections.getSectionByHandle('handle') %}
{% set fieldLayout = section.getEntryTypes[0].getFieldLayout() %}
{% for field in fieldLayout.getFields() %}
{# {{ field }} #}
{% endfor %}
How can I get the fields widths as they are shown in the CP?
As seen in the fieldlayouttabs
table > elements
> width
value.