The code is attached. And I'm using OpenLaszlo 3.2

Benjamin Shine wrote:

Can you post the code which makes the richtexteditarea do the wrong behavior?
Also, which version of the platform are you using?
-ben

On Apr 25, 2006, at 9:54 AM, Adeola Awoyemi wrote:

Sorry forgot to attach files. Now attached...

Adeola Awoyemi wrote:
Hi all, I'm having some trouble with the richtexteditarea component as it is cropping/covering the text. I was not able to change the width of the textarea successfully. Does anyone know how I can stop this from happening?
I have attached two JPEGs that show what I am experiencing.
Any leads would be appreciated.
Thanks,
Adeola.
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
<cropped.jpg>
<not_cropped.jpg>
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

<?xml version="1.0" ?>
<canvas bgcolor="0xEBEBEB" width="100%" height="100%" proxied="false" debug="false">

  <include href="incubator/tooltip/tooltip.lzx" />
  <include href="lz/vscrollbar.lzx"/>
  <include href="incubator/newvscrollbar.lzx"/>
  <include href="incubator/newvscrollbar_resources.lzx"/>
  <include href="incubator/baseedittext.lzx" />
  <include href="incubator/rich-text/richtexteditarea.lzx"/>
  <include href="incubator/tooltip/tooltip.lzx"/>
  <include href="incubator/tooltip/tooltipview.lzx" />

  <script>
  <![CDATA[
    function trace( msg ) {
      LzBrowser.loadURL('javascript:alert(\''+msg+'\');');
    }
  ]]>
  </script>

  <simplelayout spacing="10"/>
  
    <!-- NOTE_BEGIN -->         
    <view bgcolor="0x666666" width="200" height="150" x="100" y="150" onmousedown="dragger.apply()" onmouseup="dragger.remove()">
      <tooltip>Drag me! If I go out of bounds you should see the scrollbars activate so you can get me back!</tooltip>
      <button height="20" text="c">
        <method event="onclick">
          parent.textarea.setText('This is the new text in the area. \nThis is to test that we can &lt;b&gt;dynamically&lt;/b&gt; set the text.');
        </method>
      </button>
      <richtexteditarea name="textarea" x="2" y="25" width="${parent.width - 4}" height="${parent.height - 27}" bgcolor="0xffffff" isHTML="true" border="1">Quod perferendis modi dolore delectus quo velit sed. <a href="http://www.fotango.com/"; target="_blank">Fotango</a> Est assumenda vel maiores. Velit voluptatem voluptates laborum.</richtexteditarea>
      <dragstate name="dragger"/>
    </view>
    <!-- NOTE_END -->
    
</canvas>
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to