From 41ee36c7e66712df9cbfe1c46fdcb03055bc5495 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 3 Jul 2019 13:07:55 +0200 Subject: [PATCH] Reduce default textarea rows --- library/Icinga/Web/Form/Element/Textarea.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 library/Icinga/Web/Form/Element/Textarea.php diff --git a/library/Icinga/Web/Form/Element/Textarea.php b/library/Icinga/Web/Form/Element/Textarea.php new file mode 100644 index 000000000..119cd56b3 --- /dev/null +++ b/library/Icinga/Web/Form/Element/Textarea.php @@ -0,0 +1,20 @@ +getAttrib('rows') === null) { + $this->setAttrib('rows', 3); + } + } +}