Use monospace font for template listener code field in devtools
authorMatthias Schmidt <gravatronics@live.com>
Fri, 15 Jan 2021 10:08:04 +0000 (11:08 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 15 Jan 2021 10:08:04 +0000 (11:08 +0100)
wcfsetup/install/files/lib/system/package/plugin/TemplateListenerPackageInstallationPlugin.class.php

index 01e2813f4c100929dc1adee11c90a8810bc3ca47..cf59f5d91cc08d9daf02581f4c6102951e0088b8 100644 (file)
@@ -348,7 +348,8 @@ class TemplateListenerPackageInstallationPlugin extends AbstractXMLPackageInstal
                                ->objectProperty('templatecode')
                                ->label('wcf.acp.pip.templateListener.templateCode')
                                ->description('wcf.acp.pip.templateListener.templateCode.description')
-                               ->required(),
+                               ->required()
+                               ->addFieldClass('monospace'),
                        
                        IntegerFormField::create('niceValue')
                                ->objectProperty('nice')