I filed a bug on this

http://www.openlaszlo.org/jira/browse/LPP-1097

I don't know what is the matter, someone more familiar with the grid component's resizing behavior will need
to look at it.



On 11/28/05, Peter van der Kamp <[EMAIL PROTECTED]> wrote:
> Can you send a small test case so we can reproduce this more easily?
>

See code below. Compile and run it. Everything goes OK because the
longest text is in the last row. Sort on name until the longest text
becomes the first row. Then resize name to a smaller width and see
how part of the text is placed after the second row.


<canvas width="800" bgcolor="0xeaeaea" layout="axis: y">
  <dataset name="dset">
    <phonebook>
      <employee>
        <firstName>Some text some</firstName>
        <lastName>Smith</lastName>
        <phone>617-536-7855</phone>
      </employee>
      <employee>
        <firstName>Some text some text some more text lorem ipsum and
so on, tra la la la the quick fox brown yes?</firstName>
        <lastName>Jones</lastName>
        <phone>617-536-5216</phone>
      </employee>
    </phonebook>
  </dataset>

<grid datapath="dset:/phonebook" sizetoheader="false">
<gridcolumn width="200"> Name
<text datapath="firstName/text()" multiline="true"/>
</gridcolumn>
<gridcolumn width="200"> Phone
<text datapath="phone/text()"/>
</gridcolumn>
</grid>
</canvas>



--
Henry Minsky
Software Architect
[EMAIL PROTECTED]

_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to