
|
If you were logged in you would be able to see more operations.
|
|
|
| Severity: |
Minor
|
| Fixed in Change#: |
42,018
|
| Runtime: |
N/A
|
| Fix in hand: |
True
|
|
Test case:
<canvas>
<dataset name="mydset">
<item value="1">one</item>
<item value="2">two</item>
<item value="3">three</item>
<item value="4">four</item>
</dataset>
<view x="200" y="200">
<datacombobox name="options" statictext="Options" width="100" selectfirst="false"
listwidth="154" listattach="top" shownitems="6" ismenu="true"
itemdatapath="mydset:/item" />
</view>
</canvas>
When first opened, datacombobox sets its list's datapath and visibility at the same time. Because the list doesn't originally know its size because each item is still replicating, it places itself incorectly.
|
|
Description
|
Test case:
<canvas>
<dataset name="mydset">
<item value="1">one</item>
<item value="2">two</item>
<item value="3">three</item>
<item value="4">four</item>
</dataset>
<view x="200" y="200">
<datacombobox name="options" statictext="Options" width="100" selectfirst="false"
listwidth="154" listattach="top" shownitems="6" ismenu="true"
itemdatapath="mydset:/item" />
</view>
</canvas>
When first opened, datacombobox sets its list's datapath and visibility at the same time. Because the list doesn't originally know its size because each item is still replicating, it places itself incorectly. |
Show » |
|
343,346c343,346
< LzFocus.setFocus( this._cblist, false );
<
< this.isopen = true;
< if (this['onisopen']) this.onisopen.sendEvent(true);
---
> if (!this['_showListDel']) {
> this._showListDel = new LzDelegate(this, '_showList');
> }
> LzIdle.callOnIdle(this._showListDel);
363a364,371
> <method name="_showList">
> this._cblist.setVisible(true);
> LzFocus.setFocus( this._cblist, false );
> this.isopen = true;
> if (this['onisopen']) this.onisopen.sendEvent(true);
> </method>
>
> <!--- @keywords private -->