<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br><br>--- El <b>sáb 31-mar-12, Daniel Simoes de Ameida <i><dopidaniel@yahoo.com.br></i></b> escribió:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: Daniel Simoes de Ameida <dopidaniel@yahoo.com.br><br>Asunto: [Lazarus] Enc: LazReport layout problems<br>A: "Lazarus mailing list" <lazarus@lists.lazarus.freepascal.org><br>Fecha: sábado, 31 de marzo de 2012, 11:41<br><br><div id="yiv838825774"><div><div style="color:#000;background-color:#fff;font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt;"><br><div><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;margin-top:5px;padding-left:5px;"><div style="font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt;"><div style="font-family:times new roman, new york,
times, serif;font-size:12pt;"><div id="yiv838825774"><div><div style="color:#000;background-color:#fff;font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt;">Hi All,<br><br>Is any body else running in troubles with LazReport ?<br><br>We use LazReport to Print a Brazilian Document for Bank collection. I'm not sure on what revision (I'm investigating), but something has broken the Layout of documents...<br><br>Please <a rel="nofollow" target="_blank" href="http://imagebin.org/206172">see this image</a><br><br>Apparently,
LazReport is not reading X,Y coordinates correctly..<br><br>The LazReport file of this Report can be found on <a rel="nofollow" target="_blank" href="http://acbr.svn.sourceforge.net/viewvc/acbr/trunk/Fontes/ACBrBoleto/FCLazReport_Padrao.lrf?view=log">this link</a><br><br>I appreciate any hints.<br> <div>[]s Daniel<br><br>Conheça o <a rel="nofollow" target="_blank" href="http://acbr.sourceforge.net">Projeto ACBr - Automaçao Comercial Brasil</a><br><a rel="nofollow" target="_blank" href="http://www.djsystem.com.br"><span style="font-weight:bold;">DJSystem</span> a Loja Patrocinadora do ACBr</a><br></div></div></div></div> </div> </div> </blockquote></div> </div></div></div><br></blockquote><p><br></p><p>Since r36041 all stretchable objects that have stretched property enabled are unconditionally stretched (fix for issue 20988) and that included line objects which were always implicitly stretched, however line objects didn't have a published
stretched property and they were always treated as if the stretched flag was set. That produced the extra long vertical lines seen in the screen shot.</p><p><br></p><p>There are two ways to fix the problem, either turn off stretched property on master data band, so all stretchable objects are not stretched, or update to r36497 or newer and set stretched=false on all line objects, this is easy to do by using the bonus feature "Select same class objects". It works by doing this:</p><p><br></p><p>-Select one line object </p><p>-Right click the selection</p><p>-Click the
"Select same class objects"
item</p><p><br></p><p>once all line objects are selected </p><p><br></p><p>-right click on selection and uncheck "stretched" property</p><p>or</p><p>-press F11 and change stretched property to false.</p><p><br></p><p>Jesus Reyes A.</p></td></tr></table>