| I should have said that the fix is available in the nightly builds.
Both the original test case and your new one appear to work with the latest nightly sources. I'll check your change into the test case.
jim On Apr 6, 2006, at 6:58 AM, William Krick wrote: I'm not sure what the fix is, but in one part of our app, we have to destroy and create comboboxes dynamically because removing items from a combobox is painfully slow and it's faster to just blow it away and recreate it. This is the sort of code we use to re-create the combobox... var c = new combobox(mainview); c.setAttribute("width", 250); c.setAttribute("name", "thecombobox"); c.setAttribute("editable", false); We get the problem too, even though we are explicitly setting the width. I've attached an updated version of the testcase from LPP-1614 that includes a dynamically created combobox too.
The change (to fix bug LPP-1614) didn't make it into 3.2. I'll flag it for inclusion in the next release -- 3.2.1 -- which should be out in a handful of weeks.
jim On Apr 4, 2006, at 6:51 AM, William Krick wrote: It doesn't seem to be working in 3.2. I swore that it was working in one of the nightly builds leading up to 3.2 but it definitely isn't working now. I'm not sure how to fix it. You might be able to explicitly set the size on the internal view that is cutting off the text but I'm not sure how to do that. I believe this is the line in basecombobox.lzx that is supposed to be setting the size... <inputtext x="2" y="1" name="cbtext" width="$once{parent.width - 4}"> Maybe the "$once" is causing the problem. I'm not really sure. Today i ported to laszlo 3.2 and it doesn't seem to be solve my problem of comboboxes showing incomplete text.
William can you please check how u did this.
Thanks, Ankit.
Message: 2 Date: Thu, 30 Mar 2006 12:55:41 -0500 From: "William Krick" <[EMAIL PROTECTED]> Subject: Re: [Laszlo-user] dynamic combobox and listitem show incomplete text To: <[email protected]> Message-ID: < [EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1"
I'm pretty sure the problem is fixed for the standard combobox in openlaszlo 3.2.
_______________________________________________ Laszlo-user mailing list <combobox_lines.lzx> |
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user