fixedFont¶
- fixedFont¶
- Path
$GLOBALS['TCA'][$table]['columns'][$field]['config']
- Type
boolean
- Scope
Display
- RenderType
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¶

EXT:styleguide/Configuration/TCA/tx_styleguide_elements_basic.php¶
[
'columns' => [
'text_15' => [
'exclude' => 1,
'label' => 'text_15',
'description' => 'enableTabulator, fixedFont',
'config' => [
'type' => 'text',
'enableTabulator' => true,
'fixedFont' => true,
],
],
],
]