From f45a12d28e1ad4fdb9f052ce35032d35a1d3daa7 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Thu, 31 Mar 2011 17:48:44 +0100 Subject: [PATCH] MDL-20636 tinyMCE boxes for each sub-question are enormous. #355 --- question/type/match/edit_match_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/type/match/edit_match_form.php b/question/type/match/edit_match_form.php index 36249e54361..b6c0ce0020f 100644 --- a/question/type/match/edit_match_form.php +++ b/question/type/match/edit_match_form.php @@ -39,7 +39,7 @@ class qtype_match_edit_form extends question_edit_form { protected function get_per_answer_fields($mform, $label, $gradeoptions, &$repeatedoptions, &$answersoption) { $repeated = array(); $repeated[] = $mform->createElement('header', 'answerhdr', $label); - $repeated[] = $mform->createElement('editor', 'subquestions', get_string('question'), array('rows'=>40), $this->editoroptions); + $repeated[] = $mform->createElement('editor', 'subquestions', get_string('question'), array('rows'=>3), $this->editoroptions); $repeated[] = $mform->createElement('text', 'subanswers', get_string('answer', 'question'), array('size'=>50)); $repeatedoptions['subquestions']['type'] = PARAM_RAW; $repeatedoptions['subanswers']['type'] = PARAM_TEXT;