]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-9996 - Multiple choice answer box too small in the question editing form in Moodl...
authortjhunt <tjhunt>
Mon, 11 Jun 2007 16:42:13 +0000 (16:42 +0000)
committertjhunt <tjhunt>
Mon, 11 Jun 2007 16:42:13 +0000 (16:42 +0000)
question/type/multichoice/edit_multichoice_form.php

index cd0540e24fed3eb16cdc4df8d9b4ae3ebd0b6116..3879986a7503466157c2ebd45dfc4734180354a5 100644 (file)
@@ -44,7 +44,7 @@ class question_edit_multichoice_form extends question_edit_form {
         $gradeoptions = $creategrades->gradeoptionsfull;
         $repeated = array();
         $repeated[] =& $mform->createElement('header', 'choicehdr', get_string('choiceno', 'qtype_multichoice', '{no}'));
-        $repeated[] =& $mform->createElement('text', 'answer', get_string('answer', 'quiz'));
+        $repeated[] =& $mform->createElement('text', 'answer', get_string('answer', 'quiz'), array('size' => 50));
         $repeated[] =& $mform->createElement('select', 'fraction', get_string('grade'), $gradeoptions);
         $repeated[] =& $mform->createElement('htmleditor', 'feedback', get_string('feedback', 'quiz'));