From f16d5f979b1c7f6092029a3703b5e4e77cda3ba2 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Wed, 1 May 2013 19:28:58 +0100 Subject: [PATCH] MDL-39446 calculated qtype: make answer formula input bigger This makes it easier for teachers editing questions. --- question/type/calculated/edit_calculated_form.php | 1 + 1 file changed, 1 insertion(+) diff --git a/question/type/calculated/edit_calculated_form.php b/question/type/calculated/edit_calculated_form.php index 484aba078f0..d6d9f450e90 100644 --- a/question/type/calculated/edit_calculated_form.php +++ b/question/type/calculated/edit_calculated_form.php @@ -78,6 +78,7 @@ class qtype_calculated_edit_form extends qtype_numerical_edit_form { $tolerance = $answeroptions[1]; // Update Answer options group to contain only answer and grade fields. + $answeroptions[0]->setSize(55); $answeroptions = array($answeroptions[0], $answeroptions[2]); $repeated[0]->setElements($answeroptions);