[Laszlo-checkins] r13861 - openlaszlo/trunk/lps/components/debugger

bargull@openlaszlo.org bargull at openlaszlo.org
Mon May 11 12:18:51 PDT 2009


Author: bargull
Date: 2009-05-11 12:18:49 -0700 (Mon, 11 May 2009)
New Revision: 13861

Modified:
   openlaszlo/trunk/lps/components/debugger/debugger.lzx
Log:
Change 20090511-bargull-oaU by bargull at dell--p4--2-53 on 2009-05-11 19:49:55
    in /home/Admin/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: fix multiline mode in debugger

New Features:

Bugs Fixed: LPP-7929 (multiline mode in debugger broken)

Technical Reviewer: hminsky
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
Don't add +4 to text-height, this is already done somewhere in the swf-kernel (in earlier releases this wasn't done, therefore this special code).
Give the inputtext an initial height so it won't try to resize itself and by that ignore the height set from the stableborderlayout (lz.Text has all sorts of funny argument interaction, cf. LPP-7577).
    

Tests:



Modified: openlaszlo/trunk/lps/components/debugger/debugger.lzx
===================================================================
--- openlaszlo/trunk/lps/components/debugger/debugger.lzx	2009-05-11 17:53:30 UTC (rev 13860)
+++ openlaszlo/trunk/lps/components/debugger/debugger.lzx	2009-05-11 19:18:49 UTC (rev 13861)
@@ -231,7 +231,7 @@
 
        this.loaded();
        var text = this.bottom.center.input;
-       this.lineheight = text.getTextHeight()+4;
+       this.lineheight = text.getTextHeight();
        this.setAttribute("smallInputAreaHeight", this.lineheight + 16);
        this.inspectDel = new lz.Delegate(this, "inspectObject");
        this.inspectDel.register(lz.GlobalMouse, "onmousedown");
@@ -856,7 +856,7 @@
                     stretches="width" width="${parent.width}" options="releasetolayout"
                     resource="bottom_rsc" y="0" />
 
-               <inputtext name="input"
+               <inputtext name="input" height="18" resize="false"
                      width="${parent.width}" multiline="false"
                      options="releasetolayout" />
 



More information about the Laszlo-checkins mailing list