fixedFont

fixedFont
Path:$GLOBALS[‘TCA’][$table][‘columns’][$field][‘config’]
Type:boolean
Scope:Display
RenderType:default, textTable

Enables a fixed-width font (monospace) for the text field. This is useful when using code.

Does not apply to RTE fields.

Examples

Fixed font field with tabulators enabled

../../../../_images/Text15.png
'columns' => [
    'text_15' => [
        'exclude' => 1,
        'label' => 'text_15',
        'description' => 'enableTabulator, fixedFont',
        'config' => [
            'type' => 'text',
            'enableTabulator' => true,
            'fixedFont' => true,
        ],
    ],
]