<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16981" name=GENERATOR>
<STYLE>
<!--
                       
 font-face
        {font-family:"Cambria Math";}
font-face
        {font-family:Calibri;}
font-face
        {font-family:Tahoma;}
                        
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {
        color:purple;
        text-decoration:underline;}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {
        margin-right:0cm;
        margin-left:0cm;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
span.emailstyle18
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.emailstyle19
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.emailstyle20
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {
        font-size:10.0pt;}

div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY lang=EN-GB vLink=purple link=blue>
<DIV id=idOWAReplyText25485 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>I'm away from my desk, so I'm not sure how I've done it before, but pone way is to make the interaction perpetual and then use code to set the properties of the textField, addressing via it's rs property in Xerte. There may be a cleaner way...</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>In the mediaInteractions template, the translation model has an example of how I've done it before,</FONT></DIV><FONT face=Arial size=2></FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>J</FONT></DIV>
<DIV dir=ltr><BR></DIV>
<DIV dir=ltr>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of Brydges, Stephen<BR><B>Sent:</B> Mon 22/03/2010 15:42<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> RE: [Xerte] Text Entry field height<BR></FONT><BR></DIV>
<DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Height does not set. If I drag the text entry box out visually (to a height of 120) it snaps back to the height of a single line of text. The h property is set in properties, to 120, but the border only displays at about 25. Also the hit area is set to the same height so I can&#8217;t just use a graphic box, because only the top line will receive focus, whereas the user is likely to click in the middle.</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></SPAN>&nbsp;</P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <B>On Behalf Of </B>Julian Tenney<BR><B>Sent:</B> 22 March 2010 15:28<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> RE: [Xerte] Text Entry field height</SPAN></P></DIV></DIV>
<P class=MsoNormal>&nbsp;</P>
<DIV id=idOWAReplyText59628>
<DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'">so set h and w?</SPAN></P></DIV></DIV>
<DIV>
<P class=MsoNormal>&nbsp;</P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>
<HR align=center width="100%" SIZE=2>
</DIV>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><B><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> xerte-bounces@lists.nottingham.ac.uk on behalf of Brydges, Stephen<BR><B>Sent:</B> Mon 22/03/2010 14:22<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> RE: [Xerte] Text Entry field height</SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">It&#8217;s the native textEntry response (Xerte 2.1)</SPAN></P>
<P class=MsoNormal>&nbsp;</P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <B>On Behalf Of </B>Julian Tenney<BR><B>Sent:</B> 22 March 2010 14:15<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> RE: [Xerte] Text Entry field height</SPAN></P></DIV></DIV>
<P class=MsoNormal>&nbsp;</P>
<DIV id=idOWAReplyText72024>
<DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'">set width and height? You re talking Xerte's native textEntry response, or somewhere in a template?</SPAN></P></DIV></DIV>
<DIV>
<P class=MsoNormal>&nbsp;</P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>
<HR align=center width="100%" SIZE=2>
</DIV>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><B><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> xerte-bounces@lists.nottingham.ac.uk on behalf of Brydges, Stephen<BR><B>Sent:</B> Mon 22/03/2010 14:12<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> [Xerte] Text Entry field height</SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">I&#8217;d like a text entry that is, say, 5 lines high. The default appearance is that of a single line. The field does grow as they user reaches the line end, but I think the implicit suggestion is that one line is what&#8217;s expected, and I want to encourage more.</SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">I have tried turning off the border, and using my own taller background, but then it is not obvious that they have to click in the top line, for the text entry to get focus. The height parameter to textentry doesn&#8217;t seem to affect it.</SPAN></P>
<P class=MsoNormal>&nbsp;</P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">On a related note, is there an easy way to get the text field to accept enter as a newline? </SPAN></P></DIV></DIV></DIV></DIV></BODY></HTML>