Approved. There is different behavior for FF1.5. Use this example and select the long string. In dhtml, the text is truncated more than on swf. It isn't a problem in DHTML in FF2 or IE6/7.

<canvas bgcolor="#EAEAEA" width="640" height="200">
  <dataset name="items">
    <item value="short" >item one</item>
<item value="Very long selection for sure" >Very long selection for sure</item>
    <item value="item3" >item three</item>
    <item value="item4" >item four</item>
  </dataset>

  <view>
    <view layout="spacing:4">
<combobox id="cbox1" width="130" editable="false" defaulttext="choose one..."> <textlistitem datapath="items:/item/" text="$path{'text()'}" value="$path{'@value'}"/>
      </combobox>
      <text text="${'value: ' + cbox1.value}"/>
    </view>
  </view>
</canvas>




================================

Change 20070925-maxcarlson-m by [EMAIL PROTECTED] on 2007-09-25
17:31:46 PDT
     in /Users/maxcarlson/openlaszlo/trunk
for <http://svn.openlaszlo.org/openlaszlo/trunk>http://svn.openlaszlo.org/openlaszlo/trunk

Summary: text inside a combobox should not resize

New Features:

Bugs Fixed: LPP-4787 - text inside a combobox should not resize

Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: Set text resize to false.  False used to be the default in 3.x.


Tests: See LPP-4787.

Files:
M      lps/components/base/basecombobox.lzx

Changeset: <http://svn.openlaszlo.org/openlaszlo/patches/20070925->http://svn.openlaszlo.org/openlaszlo/patches/20070925-
maxcarlson-m.tar

Reply via email to