From d8da3c0f5b8dae066360525d1a467f6f74068a4d 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 a7af2824803..8b3fbdddf0b 100644 --- a/question/type/calculated/edit_calculated_form.php +++ b/question/type/calculated/edit_calculated_form.php @@ -74,6 +74,7 @@ class qtype_calculated_edit_form extends qtype_numerical_edit_form { // 1 is the answer. 3 is tolerance. $repeated[1]->setLabel(get_string('correctanswerformula', 'qtype_calculated') . '='); + $repeated[1]->setSize(55); $repeated[3]->setLabel(get_string('tolerance', 'qtype_calculated') . '='); $repeatedoptions['tolerance']['default'] = 0.01;