Skip to content
Browse files

MDL-39446 calculated qtype: make answer formula input bigger

This makes it easier for teachers editing questions.
  • Loading branch information...
1 parent 43ded67 commit d8da3c0f5b8dae066360525d1a467f6f74068a4d @timhunt timhunt committed May 1, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 question/type/calculated/edit_calculated_form.php
View
1 question/type/calculated/edit_calculated_form.php
@@ -74,6 +74,7 @@ public function get_per_answer_fields($mform, $label, $gradeoptions,
// 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;

0 comments on commit d8da3c0

Please sign in to comment.
Something went wrong with that request. Please try again.