From 727e38b0b262bc236a4ca190c0d680826141db60 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Tue, 7 Aug 2007 12:39:32 +0000 Subject: [PATCH] MDL-10737 - Increase size of short answer text entry box. Merged from MOODLE_18_STABLE. --- question/type/shortanswer/edit_shortanswer_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/type/shortanswer/edit_shortanswer_form.php b/question/type/shortanswer/edit_shortanswer_form.php index 5f0f648172..6fdb563e1f 100644 --- a/question/type/shortanswer/edit_shortanswer_form.php +++ b/question/type/shortanswer/edit_shortanswer_form.php @@ -29,7 +29,7 @@ class question_edit_shortanswer_form extends question_edit_form { $gradeoptions = $creategrades->gradeoptions; $repeated = array(); $repeated[] =& $mform->createElement('header', 'answerhdr', get_string('answerno', 'qtype_shortanswer', '{no}')); - $repeated[] =& $mform->createElement('text', 'answer', get_string('answer', 'quiz')); + $repeated[] =& $mform->createElement('text', 'answer', get_string('answer', 'quiz'), array('size' => 54)); $repeated[] =& $mform->createElement('select', 'fraction', get_string('grade'), $gradeoptions); $repeated[] =& $mform->createElement('htmleditor', 'feedback', get_string('feedback', 'quiz')); -- 2.39.5