From: Matthias Schmidt Date: Fri, 15 Jan 2021 10:08:04 +0000 (+0100) Subject: Use monospace font for template listener code field in devtools X-Git-Tag: 5.4.0_Alpha_1~447 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=48584a5d2c6ac43e89d35581d610164365701a40;p=GitHub%2FWoltLab%2FWCF.git Use monospace font for template listener code field in devtools --- diff --git a/wcfsetup/install/files/lib/system/package/plugin/TemplateListenerPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/TemplateListenerPackageInstallationPlugin.class.php index 01e2813f4c..cf59f5d91c 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/TemplateListenerPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/TemplateListenerPackageInstallationPlugin.class.php @@ -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')