From 48584a5d2c6ac43e89d35581d610164365701a40 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 15 Jan 2021 11:08:04 +0100 Subject: [PATCH] Use monospace font for template listener code field in devtools --- .../plugin/TemplateListenerPackageInstallationPlugin.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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') -- 2.20.1