Ben,
Could you give this diff a quick look? I'm trying to squash some
debugger warnings.
Your biggest fan,
Dan
Index: lps/components/incubator/rich-text/scrollrichedittext.lzx
===================================================================
--- lps/components/incubator/rich-text/scrollrichedittext.lzx
(revision 3390)
+++ lps/components/incubator/rich-text/scrollrichedittext.lzx (working
copy)
@@ -38,7 +38,7 @@
}
var vsinit = function () {
var p = this.parent;
-
+
// _vs.x="${parent.width - this.width}"
this.applyConstraint("x",
function() { this.setAttribute("x",
this.parent.width - this.width); },
@@ -46,12 +46,12 @@
// _vs.stepsize="${parent.inp.lineheight}"
this.applyConstraint("stepsize",
- function() { this.setAttribute("stepsize",
parent.inp.lineheight); },
+ function() { this.setAttribute("stepsize",
this.scrolltarget.lineheight); },
[p.inp, "lineheight"]);
// _vs.scrollmax="${parent.inp.maxheight}" />
this.applyConstraint("scrollmax",
- function() { this.setAttribute("scrollmax",
parent.inp.maxheight); },
+ function() { this.setAttribute("scrollmax",
this.scrolltarget.maxheight); },
[p.inp, "maxheight"]);
#pragma "methodName=init"