ANN: Answer Dialog Patch Available

Richard Gaskin ambassador at fourthworld.com
Wed Nov 30 17:49:59 EST 2005


Sarah Reichelt wrote:
> I haven't downloaded your patch yet to have a look, but is it still necessary?
> RunRev changed things in 2.6.0 so that the answer text wrapped, and
> this caused some problems with cut-off text. However as far as I can
> see, this was fixed in version 2.6.1
> 
> Are there still problems that I haven't encountered yet?

The answer dialog works well as described in most common uses, extending 
the width of the dialog within HIG-recommended ranges and adjusting 
itself vertically to accomodate long strings.  It even adds a scrollbar 
if the string is too long to fit within the vertical size range of the 
dialog so you can put a novel into that dialog if you like.

However, the Rev text engine still does soft wraps on word breaks only, 
so it's possible to come up with long single-word strings that will 
evidence this in the answer dialog -- for example:

answer 
"abcdefghijklmnopqrstuvqxyza1b1c1d1e1f1g1h1i1j1k1l1m1n1o1p1q1r1s1t1u1v1w1x1y1z1"

...cuts of at "...j1k".

There's a request for more flexible word wrapping in Bugzilla:
<http://support.runrev.com/bugdatabase/show_bug.cgi?id=727>

--
  Richard Gaskin
  Managing Editor, revJournal
  _______________________________________________________
  Rev tips, tutorials and more: http://www.revJournal.com



More information about the use-livecode mailing list