From: tjhunt <tjhunt> Date: Tue, 7 Aug 2007 12:39:32 +0000 (+0000) Subject: MDL-10737 - Increase size of short answer text entry box. Merged from MOODLE_18_STABLE. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=727e38b0b262bc236a4ca190c0d680826141db60;p=moodle.git MDL-10737 - Increase size of short answer text entry box. Merged from MOODLE_18_STABLE. --- 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'));