[prev in list] [next in list] [prev in thread] [next in thread]
List: lon-capa-cvs
Subject: [LON-CAPA-cvs] cvs: loncom /homework optionresponse.pm
From: raeburn <raeburn () source ! lon-capa ! org>
Date: 2012-04-18 19:45:39
Message-ID: cvsraeburn1334778339 () cvsserver
[Download RAW message or body]
raeburn Wed Apr 18 19:45:39 2012 EDT
Modified files:
/loncom/homework optionresponse.pm
Log:
- Do a better job of preventing bubble and letter (A etc.) bleeding from
left column to adjacent right column (or being truncated, if in right
column) when creating 2-column printout for optionresponse in exam mode.
Index: loncom/homework/optionresponse.pm
diff -u loncom/homework/optionresponse.pm:1.184 loncom/homework/optionresponse.pm:1.185
--- loncom/homework/optionresponse.pm:1.184 Thu Dec 15 01:21:28 2011
+++ loncom/homework/optionresponse.pm Wed Apr 18 19:45:39 2012
@@ -1,7 +1,7 @@
# LearningOnline Network with CAPA
# option list style responses
#
-# $Id: optionresponse.pm,v 1.184 2011/12/15 01:21:28 raeburn Exp $
+# $Id: optionresponse.pm,v 1.185 2012/04/18 19:45:39 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -806,7 +806,7 @@
if ($response eq 'rankresponse') {$opt[$ind]='Rank '.$opt[$ind];}
if ($ind==0) {$leftmargin=6;} else {$leftmargin=10;}
- $current_length += (length($opt[$ind])+length($item)+4)*2;
+ $current_length += (length($opt[$ind])+length($item)+5)*2;
if ($current_length<($textwidth-$leftmargin) and $ind!=$number_of_bubbles) {
_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic